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