pub enum FontStyle {
Normal,
Italic,
Oblique,
}Variants§
Trait Implementations§
source§impl CoercionRules for FontStyle
impl CoercionRules for FontStyle
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 HelperFunctions for FontStyle
impl HelperFunctions for FontStyle
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§impl ToPaxValue for FontStyle
impl ToPaxValue for FontStyle
fn to_pax_value(self) -> PaxValue
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.