pub struct KitFont {
pub file: String,
pub family: String,
pub weight: u16,
pub bytes: Bytes,
}Expand description
A face a kit ships, for the families its tokens name.
Fields§
§file: StringIts file name under fonts/.
family: StringThe family a theme names it by (font.family.ui).
weight: u16100 to 900, as CSS numbers weights.
bytes: BytesTrait Implementations§
impl StructuralPartialEq for KitFont
Auto Trait Implementations§
impl Freeze for KitFont
impl RefUnwindSafe for KitFont
impl Send for KitFont
impl Sync for KitFont
impl Unpin for KitFont
impl UnsafeUnpin for KitFont
impl UnwindSafe for KitFont
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more