Struct objc2_ui_kit::UIDatePickerMode
source · #[repr(transparent)]pub struct UIDatePickerMode(pub NSInteger);Available on crate feature
UIDatePicker only.Tuple Fields§
§0: NSIntegerImplementations§
source§impl UIDatePickerMode
impl UIDatePickerMode
pub const Time: Self = _
pub const Date: Self = _
pub const DateAndTime: Self = _
pub const CountDownTimer: Self = _
pub const YearAndMonth: Self = _
Trait Implementations§
source§impl Clone for UIDatePickerMode
impl Clone for UIDatePickerMode
source§fn clone(&self) -> UIDatePickerMode
fn clone(&self) -> UIDatePickerMode
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 UIDatePickerMode
impl Debug for UIDatePickerMode
source§impl Encode for UIDatePickerMode
impl Encode for UIDatePickerMode
source§impl Hash for UIDatePickerMode
impl Hash for UIDatePickerMode
source§impl Ord for UIDatePickerMode
impl Ord for UIDatePickerMode
source§fn cmp(&self, other: &UIDatePickerMode) -> Ordering
fn cmp(&self, other: &UIDatePickerMode) -> 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 UIDatePickerMode
impl PartialEq for UIDatePickerMode
source§fn eq(&self, other: &UIDatePickerMode) -> bool
fn eq(&self, other: &UIDatePickerMode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for UIDatePickerMode
impl PartialOrd for UIDatePickerMode
source§fn partial_cmp(&self, other: &UIDatePickerMode) -> Option<Ordering>
fn partial_cmp(&self, other: &UIDatePickerMode) -> 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 UIDatePickerMode
impl RefEncode for UIDatePickerMode
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 UIDatePickerMode
impl Eq for UIDatePickerMode
impl StructuralPartialEq for UIDatePickerMode
Auto Trait Implementations§
impl Freeze for UIDatePickerMode
impl RefUnwindSafe for UIDatePickerMode
impl Send for UIDatePickerMode
impl Sync for UIDatePickerMode
impl Unpin for UIDatePickerMode
impl UnwindSafe for UIDatePickerMode
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.