Struct font_kit::loader::FallbackFont
source · [−]pub struct FallbackFont<Font> {
pub font: Font,
pub scale: f32,
}Expand description
A single font record for a fallback query result.
Fields
font: FontThe font.
scale: f32A scale factor that should be applied to the fallback font.
Trait Implementations
Auto Trait Implementations
impl<Font> RefUnwindSafe for FallbackFont<Font> where
Font: RefUnwindSafe,
impl<Font> Send for FallbackFont<Font> where
Font: Send,
impl<Font> Sync for FallbackFont<Font> where
Font: Sync,
impl<Font> Unpin for FallbackFont<Font> where
Font: Unpin,
impl<Font> UnwindSafe for FallbackFont<Font> where
Font: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more