Struct objc2_foundation::NSDataWritingOptions
source · #[repr(transparent)]pub struct NSDataWritingOptions(pub NSUInteger);
Available on crate feature
NSData
only.Tuple Fields§
§0: NSUInteger
Implementations§
source§impl NSDataWritingOptions
impl NSDataWritingOptions
pub const NSDataWritingAtomic: Self = _
pub const NSDataWritingWithoutOverwriting: Self = _
pub const NSDataWritingFileProtectionNone: Self = _
pub const NSDataWritingFileProtectionComplete: Self = _
pub const NSDataWritingFileProtectionCompleteUnlessOpen: Self = _
pub const NSDataWritingFileProtectionCompleteUntilFirstUserAuthentication: Self = _
pub const NSDataWritingFileProtectionCompleteWhenUserInactive: Self = _
pub const NSDataWritingFileProtectionMask: Self = _
pub const NSAtomicWrite: Self = _
👎Deprecated
Trait Implementations§
source§impl Clone for NSDataWritingOptions
impl Clone for NSDataWritingOptions
source§fn clone(&self) -> NSDataWritingOptions
fn clone(&self) -> NSDataWritingOptions
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 Debug for NSDataWritingOptions
impl Debug for NSDataWritingOptions
source§impl Encode for NSDataWritingOptions
impl Encode for NSDataWritingOptions
source§impl Hash for NSDataWritingOptions
impl Hash for NSDataWritingOptions
source§impl Ord for NSDataWritingOptions
impl Ord for NSDataWritingOptions
source§fn cmp(&self, other: &NSDataWritingOptions) -> Ordering
fn cmp(&self, other: &NSDataWritingOptions) -> 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 NSDataWritingOptions
impl PartialEq for NSDataWritingOptions
source§fn eq(&self, other: &NSDataWritingOptions) -> bool
fn eq(&self, other: &NSDataWritingOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSDataWritingOptions
impl PartialOrd for NSDataWritingOptions
source§fn partial_cmp(&self, other: &NSDataWritingOptions) -> Option<Ordering>
fn partial_cmp(&self, other: &NSDataWritingOptions) -> 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 NSDataWritingOptions
impl RefEncode for NSDataWritingOptions
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 NSDataWritingOptions
impl Eq for NSDataWritingOptions
impl StructuralPartialEq for NSDataWritingOptions
Auto Trait Implementations§
impl Freeze for NSDataWritingOptions
impl RefUnwindSafe for NSDataWritingOptions
impl Send for NSDataWritingOptions
impl Sync for NSDataWritingOptions
impl Unpin for NSDataWritingOptions
impl UnwindSafe for NSDataWritingOptions
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.