Enum pax_std::types::text::FontWeight
source · pub enum FontWeight {
Thin,
ExtraLight,
Light,
Normal,
Medium,
SemiBold,
Bold,
ExtraBold,
Black,
}Variants§
Trait Implementations§
source§impl Clone for FontWeight
impl Clone for FontWeight
source§impl Default for FontWeight
impl Default for FontWeight
source§impl From<FontWeight> for FontWeightMessage
impl From<FontWeight> for FontWeightMessage
source§fn from(weight: FontWeight) -> Self
fn from(weight: FontWeight) -> Self
Converts to this type from the input type.
source§impl From<FontWeightMessage> for FontWeight
impl From<FontWeightMessage> for FontWeight
source§fn from(weight_msg: FontWeightMessage) -> Self
fn from(weight_msg: FontWeightMessage) -> Self
Converts to this type from the input type.
source§impl Interpolatable for FontWeight
impl Interpolatable for FontWeight
fn interpolate(&self, _other: &Self, _t: f64) -> Self
source§impl PartialEq<FontWeightMessage> for FontWeight
impl PartialEq<FontWeightMessage> for FontWeight
source§fn eq(&self, other: &FontWeightMessage) -> bool
fn eq(&self, other: &FontWeightMessage) -> bool
This method tests for
self and other values to be equal, and is used
by ==.Auto Trait Implementations§
impl RefUnwindSafe for FontWeight
impl Send for FontWeight
impl Sync for FontWeight
impl Unpin for FontWeight
impl UnwindSafe for FontWeight
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.