#[repr(transparent)]pub struct VertexStepFunction(pub UInteger);Expand description
Vertex step function for vertex buffer layouts.
C++ equivalent: MTL::VertexStepFunction
Tuple Fields§
§0: UIntegerImplementations§
Source§impl VertexStepFunction
impl VertexStepFunction
pub const CONSTANT: Self
pub const PER_VERTEX: Self
pub const PER_INSTANCE: Self
pub const PER_PATCH: Self
pub const PER_PATCH_CONTROL_POINT: Self
Trait Implementations§
Source§impl Clone for VertexStepFunction
impl Clone for VertexStepFunction
Source§fn clone(&self) -> VertexStepFunction
fn clone(&self) -> VertexStepFunction
Returns a duplicate 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 VertexStepFunction
impl Debug for VertexStepFunction
Source§impl Default for VertexStepFunction
impl Default for VertexStepFunction
Source§fn default() -> VertexStepFunction
fn default() -> VertexStepFunction
Returns the “default value” for a type. Read more
Source§impl Hash for VertexStepFunction
impl Hash for VertexStepFunction
Source§impl PartialEq for VertexStepFunction
impl PartialEq for VertexStepFunction
impl Copy for VertexStepFunction
impl Eq for VertexStepFunction
impl StructuralPartialEq for VertexStepFunction
Auto Trait Implementations§
impl Freeze for VertexStepFunction
impl RefUnwindSafe for VertexStepFunction
impl Send for VertexStepFunction
impl Sync for VertexStepFunction
impl Unpin for VertexStepFunction
impl UnwindSafe for VertexStepFunction
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