pub enum FontId {
Ui,
Mono,
}Expand description
Font family slot used by crate::TextStyle.
Possible values are FontId::Ui and FontId::Mono.
§Examples
use ailloli_ui_core::FontId;
assert_ne!(FontId::Ui, FontId::Mono);Variants§
Trait Implementations§
impl Copy for FontId
impl Eq for FontId
impl StructuralPartialEq for FontId
Auto Trait Implementations§
impl Freeze for FontId
impl RefUnwindSafe for FontId
impl Send for FontId
impl Sync for FontId
impl Unpin for FontId
impl UnwindSafe for FontId
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