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