pub enum FontWeightToken {
Normal,
Medium,
Semibold,
Bold,
}Expand description
字重(无单位数值)。
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for FontWeightToken
impl Clone for FontWeightToken
impl Copy for FontWeightToken
Source§impl Debug for FontWeightToken
impl Debug for FontWeightToken
impl Eq for FontWeightToken
Source§impl Hash for FontWeightToken
impl Hash for FontWeightToken
Source§impl Ord for FontWeightToken
impl Ord for FontWeightToken
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 PartialEq for FontWeightToken
impl PartialEq for FontWeightToken
Source§impl PartialOrd for FontWeightToken
impl PartialOrd for FontWeightToken
impl StructuralPartialEq for FontWeightToken
Auto Trait Implementations§
impl Forget for FontWeightToken
impl Freeze for FontWeightToken
impl Move for FontWeightToken
impl RefUnwindSafe for FontWeightToken
impl Send for FontWeightToken
impl Sync for FontWeightToken
impl Unpin for FontWeightToken
impl UnsafeUnpin for FontWeightToken
impl UnwindSafe for FontWeightToken
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