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