pub enum FontStyle {
Normal,
Italic,
Oblique {
degrees: f32,
},
}Expand description
The slant style of a font face.
Variants§
Normal
Upright (no slant).
Italic
True italic (a distinct, cursive face).
Oblique
Oblique — the upright face slanted by degrees (synthetic slant).
Trait Implementations§
impl Copy 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