pub enum Style {
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 EnumFromStr for Style
impl EnumFromStr for Style
fn enum_from_str(s: &str) -> Option<Self>
source§impl PartialEq for Style
impl PartialEq for Style
impl Copy for Style
impl Eq for Style
impl StructuralPartialEq for Style
Auto Trait Implementations§
impl Freeze for Style
impl RefUnwindSafe for Style
impl Send for Style
impl Sync for Style
impl Unpin for Style
impl UnwindSafe for Style
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
source§impl<'a, T> FromValue<'a> for Twhere
T: EnumFromStr,
impl<'a, T> FromValue<'a> for Twhere
T: EnumFromStr,
source§impl<T> IsDefault for T
impl<T> IsDefault for T
source§fn is_default(&self) -> bool
fn is_default(&self) -> bool
Checks that type has a default value.