#[repr(transparent)]pub struct NSDecodingFailurePolicy(pub NSInteger);
Available on crate feature
NSCoder
only.Tuple Fields§
§0: NSInteger
Implementations§
source§impl NSDecodingFailurePolicy
impl NSDecodingFailurePolicy
pub const RaiseException: Self = _
pub const SetErrorAndReturn: Self = _
Trait Implementations§
source§impl Clone for NSDecodingFailurePolicy
impl Clone for NSDecodingFailurePolicy
source§fn clone(&self) -> NSDecodingFailurePolicy
fn clone(&self) -> NSDecodingFailurePolicy
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 NSDecodingFailurePolicy
impl Debug for NSDecodingFailurePolicy
source§impl Encode for NSDecodingFailurePolicy
impl Encode for NSDecodingFailurePolicy
source§impl Hash for NSDecodingFailurePolicy
impl Hash for NSDecodingFailurePolicy
source§impl Ord for NSDecodingFailurePolicy
impl Ord for NSDecodingFailurePolicy
source§fn cmp(&self, other: &NSDecodingFailurePolicy) -> Ordering
fn cmp(&self, other: &NSDecodingFailurePolicy) -> 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 NSDecodingFailurePolicy
impl PartialEq for NSDecodingFailurePolicy
source§fn eq(&self, other: &NSDecodingFailurePolicy) -> bool
fn eq(&self, other: &NSDecodingFailurePolicy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSDecodingFailurePolicy
impl PartialOrd for NSDecodingFailurePolicy
source§fn partial_cmp(&self, other: &NSDecodingFailurePolicy) -> Option<Ordering>
fn partial_cmp(&self, other: &NSDecodingFailurePolicy) -> 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 NSDecodingFailurePolicy
impl RefEncode for NSDecodingFailurePolicy
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 NSDecodingFailurePolicy
impl Eq for NSDecodingFailurePolicy
impl StructuralPartialEq for NSDecodingFailurePolicy
Auto Trait Implementations§
impl Freeze for NSDecodingFailurePolicy
impl RefUnwindSafe for NSDecodingFailurePolicy
impl Send for NSDecodingFailurePolicy
impl Sync for NSDecodingFailurePolicy
impl Unpin for NSDecodingFailurePolicy
impl UnwindSafe for NSDecodingFailurePolicy
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.