Struct font_kit::loader::FallbackResult
source · [−]pub struct FallbackResult<Font> {
pub fonts: Vec<FallbackFont<Font>>,
pub valid_len: usize,
}Expand description
The result of a fallback query.
Fields
fonts: Vec<FallbackFont<Font>>A list of fallback fonts.
valid_len: usizeThe fallback list is valid for this slice of the given text.
Trait Implementations
Auto Trait Implementations
impl<Font> RefUnwindSafe for FallbackResult<Font> where
Font: RefUnwindSafe,
impl<Font> Send for FallbackResult<Font> where
Font: Send,
impl<Font> Sync for FallbackResult<Font> where
Font: Sync,
impl<Font> Unpin for FallbackResult<Font> where
Font: Unpin,
impl<Font> UnwindSafe for FallbackResult<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