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