pub struct FontFallback {
pub font_family: FontFamily,
pub unicode_range: UnicodeRange,
}Expand description
Font fallback definition that is used to override the default fallback lookup of the current font manager implementation.
Fields§
§font_family: FontFamilyGet or set the fallback FontFamily.
unicode_range: UnicodeRangeGet or set the UnicodeRange that is covered by the fallback.
Trait Implementations§
Source§impl Clone for FontFallback
impl Clone for FontFallback
Source§impl Debug for FontFallback
impl Debug for FontFallback
Source§impl Default for FontFallback
impl Default for FontFallback
Source§impl PartialEq for FontFallback
impl PartialEq for FontFallback
impl StructuralPartialEq for FontFallback
Auto Trait Implementations§
impl !Send for FontFallback
impl !Sync for FontFallback
impl Freeze for FontFallback
impl RefUnwindSafe for FontFallback
impl Unpin for FontFallback
impl UnsafeUnpin for FontFallback
impl UnwindSafe for FontFallback
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more