#[repr(transparent)]pub struct NSFileProviderItemCapabilities(pub NSUInteger);Available on crate feature
NSFileProviderItem only.Tuple Fields§
§0: NSUIntegerImplementations§
source§impl NSFileProviderItemCapabilities
impl NSFileProviderItemCapabilities
pub const AllowsReading: Self = _
pub const AllowsWriting: Self = _
pub const AllowsReparenting: Self = _
pub const AllowsRenaming: Self = _
pub const AllowsTrashing: Self = _
pub const AllowsDeleting: Self = _
pub const AllowsEvicting: Self = _
👎Deprecated: use NSFileProviderContentPolicy instead
pub const AllowsExcludingFromSync: Self = _
pub const AllowsAddingSubItems: Self = _
pub const AllowsContentEnumerating: Self = _
pub const AllowsAll: Self = _
👎Deprecated: This capability is no longer supported, and does not contain all capabilities. Please migrate to directly specifying each of the individual capabilities that should be allowed for the item.
Trait Implementations§
source§impl Clone for NSFileProviderItemCapabilities
impl Clone for NSFileProviderItemCapabilities
source§fn clone(&self) -> NSFileProviderItemCapabilities
fn clone(&self) -> NSFileProviderItemCapabilities
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 Ord for NSFileProviderItemCapabilities
impl Ord for NSFileProviderItemCapabilities
source§fn cmp(&self, other: &NSFileProviderItemCapabilities) -> Ordering
fn cmp(&self, other: &NSFileProviderItemCapabilities) -> 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 NSFileProviderItemCapabilities
impl PartialEq for NSFileProviderItemCapabilities
source§fn eq(&self, other: &NSFileProviderItemCapabilities) -> bool
fn eq(&self, other: &NSFileProviderItemCapabilities) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for NSFileProviderItemCapabilities
impl PartialOrd for NSFileProviderItemCapabilities
source§fn partial_cmp(
&self,
other: &NSFileProviderItemCapabilities
) -> Option<Ordering>
fn partial_cmp( &self, other: &NSFileProviderItemCapabilities ) -> 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 NSFileProviderItemCapabilities
impl RefEncode for NSFileProviderItemCapabilities
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 NSFileProviderItemCapabilities
impl Eq for NSFileProviderItemCapabilities
impl StructuralPartialEq for NSFileProviderItemCapabilities
Auto Trait Implementations§
impl Freeze for NSFileProviderItemCapabilities
impl RefUnwindSafe for NSFileProviderItemCapabilities
impl Send for NSFileProviderItemCapabilities
impl Sync for NSFileProviderItemCapabilities
impl Unpin for NSFileProviderItemCapabilities
impl UnwindSafe for NSFileProviderItemCapabilities
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.