pub enum FontStyle {
Normal,
Italic,
Oblique,
}
Expand description
A font style property.
Variants§
Normal
A face that is neither italic not obliqued.
Italic
A form that is generally cursive in nature.
Oblique
A typically-sloped version of the regular face.
Trait Implementations§
source§impl PartialEq for FontStyle
impl PartialEq for FontStyle
impl Copy for FontStyle
impl Eq for FontStyle
impl StructuralEq for FontStyle
impl StructuralPartialEq 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§
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