#[repr(u64)]pub enum NSDateFormatterStyle {
None = 0,
Short = 1,
Medium = 2,
Long = 3,
Full = 4,
}Variants§
None = 0
Specifies no style.
Short = 1
Specifies a short style, typically numeric only, such as “11/23/37” or “3:30 PM”.
Medium = 2
Specifies a medium style, typically with abbreviated text, such as “Nov 23, 1937” or “3:30:32 PM”.
Long = 3
Specifies a long style, typically with full text, such as “November 23, 1937” or “3:30:32 PM PST”.
Full = 4
Specifies a full style with complete details, such as “Tuesday, April 12, 1952 AD” or “3:30:42 PM Pacific Standard Time”.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NSDateFormatterStyle
impl RefUnwindSafe for NSDateFormatterStyle
impl Send for NSDateFormatterStyle
impl Sync for NSDateFormatterStyle
impl Unpin for NSDateFormatterStyle
impl UnwindSafe for NSDateFormatterStyle
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