pub enum Weight {
UltraLight,
Thin,
Light,
Regular,
Medium,
Semibold,
Bold,
Heavy,
Black,
}Expand description
SwiftUI.Font.Weight. The values are Doubles behind the scenes; these are
the named steps SwiftUI exposes.
Variants§
Implementations§
Trait Implementations§
impl Copy for Weight
impl Eq for Weight
Source§impl From<UltraLight> for Weight
impl From<UltraLight> for Weight
Source§fn from(_: UltraLight) -> Self
fn from(_: UltraLight) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Weight
Auto Trait Implementations§
impl Freeze for Weight
impl RefUnwindSafe for Weight
impl Send for Weight
impl Sync for Weight
impl Unpin for Weight
impl UnsafeUnpin for Weight
impl UnwindSafe for Weight
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