Enum vulkano::pipeline::vertex::VertexMemberTy
[−]
[src]
pub enum VertexMemberTy { I8, U8, I16, U16, I32, U32, F32, F64, }
Type of a member of a vertex struct.
Variants
I8
U8
I16
U16
I32
U32
F32
F64
Methods
impl VertexMemberTy
[src]
fn matches(&self, array_size: usize, format: Format, num_locs: u32) -> bool
Returns true if a combination of (type, array_size)
matches a format.
Trait Implementations
impl Debug for VertexMemberTy
[src]
impl Copy for VertexMemberTy
[src]
impl Clone for VertexMemberTy
[src]
fn clone(&self) -> VertexMemberTy
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for VertexMemberTy
[src]
fn eq(&self, __arg_0: &VertexMemberTy) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.