pub enum FontStyle {
Normal,
Italic,
Oblique,
}Expand description
Which faces of a family a span prefers, as CSS font-style.
Variants§
Normal
Upright faces, then oblique, then italic.
Italic
Italic faces, then oblique, then upright ones sheared.
Oblique
Oblique faces, then italic, then upright ones sheared.
Trait Implementations§
impl Copy for FontStyle
impl Eq for FontStyle
impl StructuralPartialEq for FontStyle
Auto Trait Implementations§
impl Forget for FontStyle
impl Freeze for FontStyle
impl Move 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