#[repr(transparent)]pub struct CNContactType(pub NSInteger);Available on crate feature
CNContact only.Expand description
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl CNContactType
impl CNContactType
pub const Person: Self
pub const Organization: Self
Trait Implementations§
Source§impl Clone for CNContactType
impl Clone for CNContactType
Source§fn clone(&self) -> CNContactType
fn clone(&self) -> CNContactType
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 CNContactType
impl Debug for CNContactType
Source§impl Encode for CNContactType
impl Encode for CNContactType
Source§impl Hash for CNContactType
impl Hash for CNContactType
Source§impl Ord for CNContactType
impl Ord for CNContactType
Source§fn cmp(&self, other: &CNContactType) -> Ordering
fn cmp(&self, other: &CNContactType) -> 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 CNContactType
impl PartialEq for CNContactType
Source§impl PartialOrd for CNContactType
impl PartialOrd for CNContactType
Source§impl RefEncode for CNContactType
impl RefEncode for CNContactType
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 CNContactType
impl Eq for CNContactType
impl StructuralPartialEq for CNContactType
Auto Trait Implementations§
impl Freeze for CNContactType
impl RefUnwindSafe for CNContactType
impl Send for CNContactType
impl Sync for CNContactType
impl Unpin for CNContactType
impl UnwindSafe for CNContactType
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.