pub enum FontStyle {
Normal,
Italic,
Oblique,
}Expand description
The font-style keyword.
Variants§
Normal
normal — upright. Default.
Italic
italic — italicized.
Oblique
oblique — slanted (typically synthesized from the upright
face when an explicit oblique face is unavailable).
Trait Implementations§
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