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