#[repr(transparent)]pub struct NSDateIntervalFormatterStyle(pub NSUInteger);
Available on crate feature
NSDateIntervalFormatter
only.Tuple Fields§
§0: NSUInteger
Implementations§
source§impl NSDateIntervalFormatterStyle
impl NSDateIntervalFormatterStyle
pub const NSDateIntervalFormatterNoStyle: Self = _
pub const NSDateIntervalFormatterShortStyle: Self = _
pub const NSDateIntervalFormatterMediumStyle: Self = _
pub const NSDateIntervalFormatterLongStyle: Self = _
pub const NSDateIntervalFormatterFullStyle: Self = _
Trait Implementations§
source§impl Clone for NSDateIntervalFormatterStyle
impl Clone for NSDateIntervalFormatterStyle
source§fn clone(&self) -> NSDateIntervalFormatterStyle
fn clone(&self) -> NSDateIntervalFormatterStyle
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NSDateIntervalFormatterStyle
impl Debug for NSDateIntervalFormatterStyle
source§impl Hash for NSDateIntervalFormatterStyle
impl Hash for NSDateIntervalFormatterStyle
source§impl Ord for NSDateIntervalFormatterStyle
impl Ord for NSDateIntervalFormatterStyle
source§fn cmp(&self, other: &NSDateIntervalFormatterStyle) -> Ordering
fn cmp(&self, other: &NSDateIntervalFormatterStyle) -> Ordering
1.21.0 · 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
source§impl PartialEq for NSDateIntervalFormatterStyle
impl PartialEq for NSDateIntervalFormatterStyle
source§fn eq(&self, other: &NSDateIntervalFormatterStyle) -> bool
fn eq(&self, other: &NSDateIntervalFormatterStyle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSDateIntervalFormatterStyle
impl PartialOrd for NSDateIntervalFormatterStyle
source§fn partial_cmp(&self, other: &NSDateIntervalFormatterStyle) -> Option<Ordering>
fn partial_cmp(&self, other: &NSDateIntervalFormatterStyle) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl RefEncode for NSDateIntervalFormatterStyle
impl RefEncode for NSDateIntervalFormatterStyle
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for NSDateIntervalFormatterStyle
impl Eq for NSDateIntervalFormatterStyle
impl StructuralPartialEq for NSDateIntervalFormatterStyle
Auto Trait Implementations§
impl Freeze for NSDateIntervalFormatterStyle
impl RefUnwindSafe for NSDateIntervalFormatterStyle
impl Send for NSDateIntervalFormatterStyle
impl Sync for NSDateIntervalFormatterStyle
impl Unpin for NSDateIntervalFormatterStyle
impl UnwindSafe for NSDateIntervalFormatterStyle
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
source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.