#[repr(i64)]pub enum CNContactSortOrder {
None = 0,
UserDefault = 1,
GivenName = 2,
FamilyName = 3,
}
Expand description
Indicates the sorting order for contacts.
Variants§
None = 0
No sorting order.
UserDefault = 1
The user’s default sorting order.
GivenName = 2
Sorting contacts by given name.
FamilyName = 3
Sorting contacts by family name.
Trait Implementations§
Source§impl Clone for CNContactSortOrder
impl Clone for CNContactSortOrder
Source§fn clone(&self) -> CNContactSortOrder
fn clone(&self) -> CNContactSortOrder
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CNContactSortOrder
impl Debug for CNContactSortOrder
Source§impl PartialEq for CNContactSortOrder
impl PartialEq for CNContactSortOrder
impl Copy for CNContactSortOrder
impl Eq for CNContactSortOrder
impl StructuralPartialEq for CNContactSortOrder
Auto Trait Implementations§
impl Freeze for CNContactSortOrder
impl RefUnwindSafe for CNContactSortOrder
impl Send for CNContactSortOrder
impl Sync for CNContactSortOrder
impl Unpin for CNContactSortOrder
impl UnwindSafe for CNContactSortOrder
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