withFamily
Parameters
- self:Font
- Font
- n:[]const u8
- []const u8
Source
Implementation
pub fn withFamily(self: Font, n: []const u8) Font {
var r: Font = self;
r.family = array(n);
return r;
}Source
pub fn withFamily(self: Font, n: []const u8) Font {
var r: Font = self;
r.family = array(n);
return r;
}