Enum pax_kit::FontWeightMessage
source · #[repr(C)]pub enum FontWeightMessage {
Thin = 0,
ExtraLight = 1,
Light = 2,
Normal = 3,
Medium = 4,
SemiBold = 5,
Bold = 6,
ExtraBold = 7,
Black = 8,
}Variants§
Thin = 0
ExtraLight = 1
Light = 2
Normal = 3
Medium = 4
SemiBold = 5
Bold = 6
ExtraBold = 7
Black = 8
Trait Implementations§
source§impl Clone for FontWeightMessage
impl Clone for FontWeightMessage
source§fn clone(&self) -> FontWeightMessage
fn clone(&self) -> FontWeightMessage
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 FontWeightMessage
impl Debug for FontWeightMessage
source§impl From<FontWeight> for FontWeightMessage
impl From<FontWeight> for FontWeightMessage
source§fn from(weight: FontWeight) -> FontWeightMessage
fn from(weight: FontWeight) -> FontWeightMessage
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) -> FontWeight
fn from(weight_msg: FontWeightMessage) -> FontWeight
Converts to this type from the input type.
source§impl PartialEq for FontWeightMessage
impl PartialEq for FontWeightMessage
source§impl Serialize for FontWeightMessage
impl Serialize for FontWeightMessage
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for FontWeightMessage
Auto Trait Implementations§
impl Freeze for FontWeightMessage
impl RefUnwindSafe for FontWeightMessage
impl Send for FontWeightMessage
impl Sync for FontWeightMessage
impl Unpin for FontWeightMessage
impl UnwindSafe for FontWeightMessage
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.