pub enum StylesTextStyleFontWeight {
Bold,
Normal,
W100,
W200,
W300,
W400,
W500,
W600,
W700,
W800,
W900,
}Expand description
The weight of the text.
Variants§
Trait Implementations§
Source§impl Clone for StylesTextStyleFontWeight
impl Clone for StylesTextStyleFontWeight
impl Copy for StylesTextStyleFontWeight
Source§impl Debug for StylesTextStyleFontWeight
impl Debug for StylesTextStyleFontWeight
Source§impl<'de> Deserialize<'de> for StylesTextStyleFontWeight
impl<'de> Deserialize<'de> for StylesTextStyleFontWeight
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
impl Eq for StylesTextStyleFontWeight
Source§impl From<&StylesTextStyleFontWeight> for StylesTextStyleFontWeight
impl From<&StylesTextStyleFontWeight> for StylesTextStyleFontWeight
Source§fn from(value: &StylesTextStyleFontWeight) -> Self
fn from(value: &StylesTextStyleFontWeight) -> Self
Converts to this type from the input type.
Source§impl FromStr for StylesTextStyleFontWeight
impl FromStr for StylesTextStyleFontWeight
Source§impl Hash for StylesTextStyleFontWeight
impl Hash for StylesTextStyleFontWeight
Source§impl Ord for StylesTextStyleFontWeight
impl Ord for StylesTextStyleFontWeight
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for StylesTextStyleFontWeight
impl PartialOrd for StylesTextStyleFontWeight
impl StructuralPartialEq for StylesTextStyleFontWeight
Source§impl ToString for StylesTextStyleFontWeight
impl ToString for StylesTextStyleFontWeight
Source§impl TryFrom<&String> for StylesTextStyleFontWeight
impl TryFrom<&String> for StylesTextStyleFontWeight
Source§impl TryFrom<&str> for StylesTextStyleFontWeight
impl TryFrom<&str> for StylesTextStyleFontWeight
Auto Trait Implementations§
impl Freeze for StylesTextStyleFontWeight
impl RefUnwindSafe for StylesTextStyleFontWeight
impl Send for StylesTextStyleFontWeight
impl Sync for StylesTextStyleFontWeight
impl Unpin for StylesTextStyleFontWeight
impl UnsafeUnpin for StylesTextStyleFontWeight
impl UnwindSafe for StylesTextStyleFontWeight
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