DVUI

withStyle

Parameters

#
self:Font
Font
s:Style
Style

Source

Implementation

#
pub fn withStyle(self: Font, s: Style) Font {
    var r = self;
    r.style = s;
    return r;
}