Enum theme2::UserFontStyle
source · pub enum UserFontStyle {
Normal,
Italic,
Oblique,
}
Variants§
Trait Implementations§
source§impl Clone for UserFontStyle
impl Clone for UserFontStyle
source§fn clone(&self) -> UserFontStyle
fn clone(&self) -> UserFontStyle
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UserFontStyle
impl Debug for UserFontStyle
source§impl<'de> Deserialize<'de> for UserFontStyle
impl<'de> Deserialize<'de> for UserFontStyle
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<UserFontStyle> for FontStyle
impl From<UserFontStyle> for FontStyle
source§fn from(value: UserFontStyle) -> Self
fn from(value: UserFontStyle) -> Self
Converts to this type from the input type.
impl Copy for UserFontStyle
Auto Trait Implementations§
impl RefUnwindSafe for UserFontStyle
impl Send for UserFontStyle
impl Sync for UserFontStyle
impl Unpin for UserFontStyle
impl UnwindSafe for UserFontStyle
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