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: usize
The fallback list is valid for this slice of the given text.
Trait Implementations§
Auto Trait Implementations§
impl<Font> Freeze for FallbackResult<Font>
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§
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