pub struct Typecase {
pub fonts: HashMap<String, FontArc>,
pub sized_fonts: HashMap<FontProperties, Font>,
pub scale_factor: ScaleFactor,
}Fields§
§fonts: HashMap<String, FontArc>§sized_fonts: HashMap<FontProperties, Font>§scale_factor: ScaleFactorImplementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Typecase
impl !UnwindSafe for Typecase
impl Freeze for Typecase
impl Send for Typecase
impl Sync for Typecase
impl Unpin for Typecase
impl UnsafeUnpin for Typecase
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