pub struct FamilyId(pub u32);Expand description
An interned font-family selector. The name→id interning + the
id→family resolution live with the renderer-side font table
(T.10); the id is renderer-neutral so a Style can name a family
without the theme crate depending on a font stack.
Tuple Fields§
§0: u32Trait Implementations§
impl Copy for FamilyId
impl Eq for FamilyId
impl StructuralPartialEq for FamilyId
Auto Trait Implementations§
impl Freeze for FamilyId
impl RefUnwindSafe for FamilyId
impl Send for FamilyId
impl Sync for FamilyId
impl Unpin for FamilyId
impl UnsafeUnpin for FamilyId
impl UnwindSafe for FamilyId
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