pub enum FontStyle {
Normal,
Italic,
Oblique,
}
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for FontStyle
impl<'de> Deserialize<'de> for FontStyle
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<FontStyle> for FontStyleMessage
impl From<FontStyle> for FontStyleMessage
source§impl From<FontStyleMessage> for FontStyle
impl From<FontStyleMessage> for FontStyle
source§fn from(style_msg: FontStyleMessage) -> Self
fn from(style_msg: FontStyleMessage) -> Self
Converts to this type from the input type.
source§impl Interpolatable for FontStyle
impl Interpolatable for FontStyle
fn interpolate(&self, _other: &Self, _t: f64) -> Self
source§impl PartialEq<FontStyleMessage> for FontStyle
impl PartialEq<FontStyleMessage> for FontStyle
source§fn eq(&self, other: &FontStyleMessage) -> bool
fn eq(&self, other: &FontStyleMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl ImplToFromPaxAny 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 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
source§impl<T> CoercionRules for Twhere
T: ImplToFromPaxAny,
impl<T> CoercionRules for Twhere
T: ImplToFromPaxAny,
source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.