pub enum FontKind<'a> {
FontRef(FontRefData<'a>),
FontInstance(&'a FontInstance, BasicFontMetrics),
}Variants§
FontRef(FontRefData<'a>)
FontInstance(&'a FontInstance, BasicFontMetrics)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for FontKind<'a>
impl<'a> !RefUnwindSafe for FontKind<'a>
impl<'a> Send for FontKind<'a>
impl<'a> Sync for FontKind<'a>
impl<'a> Unpin for FontKind<'a>
impl<'a> UnsafeUnpin for FontKind<'a>
impl<'a> !UnwindSafe for FontKind<'a>
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