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