#[repr(transparent)]pub struct NSSharingCollaborationMode(pub NSInteger);
Available on crate feature
NSSharingCollaborationModeRestriction
only.Expand description
Represents the types of sharing (collaborating on an item vs. sending a copy of the item) The share picker supports up to two modes, each of which corresponds to one of these types
See also Apple’s documentation
Tuple Fields§
§0: NSInteger
Implementations§
Source§impl NSSharingCollaborationMode
impl NSSharingCollaborationMode
pub const SendCopy: Self
pub const Collaborate: Self
Trait Implementations§
Source§impl Clone for NSSharingCollaborationMode
impl Clone for NSSharingCollaborationMode
Source§fn clone(&self) -> NSSharingCollaborationMode
fn clone(&self) -> NSSharingCollaborationMode
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 NSSharingCollaborationMode
impl Debug for NSSharingCollaborationMode
Source§impl Encode for NSSharingCollaborationMode
impl Encode for NSSharingCollaborationMode
Source§impl Hash for NSSharingCollaborationMode
impl Hash for NSSharingCollaborationMode
Source§impl Ord for NSSharingCollaborationMode
impl Ord for NSSharingCollaborationMode
Source§fn cmp(&self, other: &NSSharingCollaborationMode) -> Ordering
fn cmp(&self, other: &NSSharingCollaborationMode) -> 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 PartialOrd for NSSharingCollaborationMode
impl PartialOrd for NSSharingCollaborationMode
Source§impl RefEncode for NSSharingCollaborationMode
impl RefEncode for NSSharingCollaborationMode
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 NSSharingCollaborationMode
impl Eq for NSSharingCollaborationMode
impl StructuralPartialEq for NSSharingCollaborationMode
Auto Trait Implementations§
impl Freeze for NSSharingCollaborationMode
impl RefUnwindSafe for NSSharingCollaborationMode
impl Send for NSSharingCollaborationMode
impl Sync for NSSharingCollaborationMode
impl Unpin for NSSharingCollaborationMode
impl UnwindSafe for NSSharingCollaborationMode
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.