#[repr(u64)]pub enum MTLVertexFormat {
Invalid = 0,
Float2 = 29,
Float3 = 30,
Float4 = 31,
}Expand description
Vertex format for vertex attributes
Variants§
Invalid = 0
Invalid format
Float2 = 29
Two 32-bit floats
Float3 = 30
Three 32-bit floats
Float4 = 31
Four 32-bit floats
Implementations§
Trait Implementations§
Source§impl Clone for MTLVertexFormat
impl Clone for MTLVertexFormat
Source§fn clone(&self) -> MTLVertexFormat
fn clone(&self) -> MTLVertexFormat
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 MTLVertexFormat
impl Debug for MTLVertexFormat
Source§impl Default for MTLVertexFormat
impl Default for MTLVertexFormat
Source§fn default() -> MTLVertexFormat
fn default() -> MTLVertexFormat
Returns the “default value” for a type. Read more
impl Copy for MTLVertexFormat
Auto Trait Implementations§
impl Freeze for MTLVertexFormat
impl RefUnwindSafe for MTLVertexFormat
impl Send for MTLVertexFormat
impl Sync for MTLVertexFormat
impl Unpin for MTLVertexFormat
impl UnwindSafe for MTLVertexFormat
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