pub enum GenericSlot {
Monospace,
SansSerif,
Serif,
SystemUi,
Emoji,
}Expand description
Generic font families supported as fallback slots.
This is a curated subset of parley’s parley::GenericFamily covering
the generic families Frust explicitly supports and exposes.
Variants§
Monospace
A monospace (fixed-width) font family.
SansSerif
A sans-serif font family.
Serif
A serif font family.
SystemUi
The platform system UI font.
Emoji
Color emoji or symbol glyphs.
Trait Implementations§
Source§impl Clone for GenericSlot
impl Clone for GenericSlot
impl Copy for GenericSlot
Source§impl Debug for GenericSlot
impl Debug for GenericSlot
impl Eq for GenericSlot
Source§impl PartialEq for GenericSlot
impl PartialEq for GenericSlot
impl StructuralPartialEq for GenericSlot
Auto Trait Implementations§
impl Freeze for GenericSlot
impl RefUnwindSafe for GenericSlot
impl Send for GenericSlot
impl Sync for GenericSlot
impl Unpin for GenericSlot
impl UnsafeUnpin for GenericSlot
impl UnwindSafe for GenericSlot
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