#[repr(u8)]pub enum Design {
Default = 0,
Serif = 1,
Rounded = 2,
Monospaced = 3,
}Expand description
SwiftUI.Font.Design, in declaration order.
Variants§
Trait Implementations§
impl Copy for Design
impl Eq for Design
Source§impl From<Monospaced> for Design
impl From<Monospaced> for Design
Source§fn from(_: Monospaced) -> Self
fn from(_: Monospaced) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Design
Auto Trait Implementations§
impl Freeze for Design
impl RefUnwindSafe for Design
impl Send for Design
impl Sync for Design
impl Unpin for Design
impl UnsafeUnpin for Design
impl UnwindSafe for Design
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