pub struct RegisteredFamily {
pub name: String,
pub face_count: usize,
}Expand description
A font family registered via TextContext::register_fonts, reported back
to the caller so it can resolve widget styles against the exact name(s)
fontique assigned.
Fields§
§name: StringThe family name fontique resolved the registered face(s) into (from
the font’s own name table, or an override).
face_count: usizeHow many faces (weights/styles) were registered into this family from the supplied data.
Trait Implementations§
Source§impl Clone for RegisteredFamily
impl Clone for RegisteredFamily
Source§impl Debug for RegisteredFamily
impl Debug for RegisteredFamily
impl Eq for RegisteredFamily
Source§impl PartialEq for RegisteredFamily
impl PartialEq for RegisteredFamily
impl StructuralPartialEq for RegisteredFamily
Auto Trait Implementations§
impl Freeze for RegisteredFamily
impl RefUnwindSafe for RegisteredFamily
impl Send for RegisteredFamily
impl Sync for RegisteredFamily
impl Unpin for RegisteredFamily
impl UnsafeUnpin for RegisteredFamily
impl UnwindSafe for RegisteredFamily
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