Enum primitives::foundation::FontStyle
source · [−]pub enum FontStyle {
Normal,
Oblique,
Italic,
}
Expand description
Whether to slant the glyphs in the font.
Variants
Normal
Normal font
Oblique
Oblique font
Italic
Italic font
Trait Implementations
impl Copy for FontStyle
Auto Trait Implementations
impl RefUnwindSafe for FontStyle
impl Send for FontStyle
impl Sync for FontStyle
impl Unpin for FontStyle
impl UnwindSafe for FontStyle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more