#[repr(transparent)]pub struct ARCollaborationDataPriority(pub NSInteger);Available on crate features
ARCollaborationData and objc2 only.Expand description
A value describing the priority of the collaboration data.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl ARCollaborationDataPriority
impl ARCollaborationDataPriority
Sourcepub const Critical: Self
pub const Critical: Self
The data is important for establishing or continuing a collaborative session. For best results, use network transmission mechanisms that ensure delivery, such as MCSessionSendDataModeReliable.
Sourcepub const Optional: Self
pub const Optional: Self
The data is time-sensitive but not important to collaborative session quality. Timely synchronization of this data between participants produces a smoother shared session, but the session can continue if the data is not received. For best results, use network transmission mechanisms that prioritize speed over delivery guarantees, such as MCSessionSendDataModeUnreliable.
Trait Implementations§
Source§impl Clone for ARCollaborationDataPriority
impl Clone for ARCollaborationDataPriority
Source§fn clone(&self) -> ARCollaborationDataPriority
fn clone(&self) -> ARCollaborationDataPriority
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 ARCollaborationDataPriority
impl Debug for ARCollaborationDataPriority
Source§impl Encode for ARCollaborationDataPriority
impl Encode for ARCollaborationDataPriority
Source§impl Hash for ARCollaborationDataPriority
impl Hash for ARCollaborationDataPriority
Source§impl Ord for ARCollaborationDataPriority
impl Ord for ARCollaborationDataPriority
Source§fn cmp(&self, other: &ARCollaborationDataPriority) -> Ordering
fn cmp(&self, other: &ARCollaborationDataPriority) -> 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 ARCollaborationDataPriority
impl PartialOrd for ARCollaborationDataPriority
Source§impl RefEncode for ARCollaborationDataPriority
impl RefEncode for ARCollaborationDataPriority
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 ARCollaborationDataPriority
impl Eq for ARCollaborationDataPriority
impl StructuralPartialEq for ARCollaborationDataPriority
Auto Trait Implementations§
impl Freeze for ARCollaborationDataPriority
impl RefUnwindSafe for ARCollaborationDataPriority
impl Send for ARCollaborationDataPriority
impl Sync for ARCollaborationDataPriority
impl Unpin for ARCollaborationDataPriority
impl UnwindSafe for ARCollaborationDataPriority
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.