DVUI

font

Return a Font that will render from this source.

Parameters

#
self:*const Source
*const Source

Source

Implementation

#
pub fn font(self: *const Source) Font {
        return .{
            .family = self.family,
            .weight = self.weight,
            .style = self.style,
        };
    }