pub enum FontStyle {
Normal,
Italic,
Oblique,
}Variants§
Trait Implementations§
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 ==.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
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.