pub enum FontStyle {
Normal = 0,
Bold = 1_024,
Italic = 2_048,
BoldItalic = 3_072,
}Variants§
Implementations§
Trait Implementations§
Source§impl Ord for FontStyle
impl Ord for FontStyle
Source§impl PartialOrd for FontStyle
impl PartialOrd for FontStyle
impl Copy for FontStyle
impl Eq for FontStyle
impl StructuralPartialEq for FontStyle
Auto Trait Implementations§
impl Freeze for FontStyle
impl RefUnwindSafe for FontStyle
impl Send for FontStyle
impl Sync for FontStyle
impl Unpin for FontStyle
impl UnsafeUnpin for FontStyle
impl UnwindSafe for FontStyle
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