#[repr(transparent)]pub struct CLKRelativeDateStyle(pub NSInteger);👎Deprecated: On watchOS 9.0 or later, use WidgetKit instead
Available on crate feature
CLKTextProvider only.Expand description
Tuple Fields§
§0: NSInteger👎Deprecated: On watchOS 9.0 or later, use WidgetKit instead
Implementations§
Source§impl CLKRelativeDateStyle
impl CLKRelativeDateStyle
pub const Natural: Self
👎Deprecated: On watchOS 9.0 or later, use WidgetKit instead
pub const Offset: Self
👎Deprecated: On watchOS 9.0 or later, use WidgetKit instead
pub const Timer: Self
👎Deprecated: On watchOS 9.0 or later, use WidgetKit instead
pub const NaturalAbbreviated: Self
pub const OffsetShort: Self
pub const NaturalFull: Self
Trait Implementations§
Source§impl Clone for CLKRelativeDateStyle
impl Clone for CLKRelativeDateStyle
Source§fn clone(&self) -> CLKRelativeDateStyle
fn clone(&self) -> CLKRelativeDateStyle
Returns a duplicate 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 CLKRelativeDateStyle
impl Debug for CLKRelativeDateStyle
Source§impl Encode for CLKRelativeDateStyle
impl Encode for CLKRelativeDateStyle
Source§impl Hash for CLKRelativeDateStyle
impl Hash for CLKRelativeDateStyle
Source§impl Ord for CLKRelativeDateStyle
impl Ord for CLKRelativeDateStyle
Source§fn cmp(&self, other: &CLKRelativeDateStyle) -> Ordering
fn cmp(&self, other: &CLKRelativeDateStyle) -> 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 CLKRelativeDateStyle
impl PartialEq for CLKRelativeDateStyle
Source§impl PartialOrd for CLKRelativeDateStyle
impl PartialOrd for CLKRelativeDateStyle
Source§impl RefEncode for CLKRelativeDateStyle
impl RefEncode for CLKRelativeDateStyle
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 CLKRelativeDateStyle
impl Eq for CLKRelativeDateStyle
impl StructuralPartialEq for CLKRelativeDateStyle
Auto Trait Implementations§
impl Freeze for CLKRelativeDateStyle
impl RefUnwindSafe for CLKRelativeDateStyle
impl Send for CLKRelativeDateStyle
impl Sync for CLKRelativeDateStyle
impl Unpin for CLKRelativeDateStyle
impl UnwindSafe for CLKRelativeDateStyle
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.