Struct luminance::vertex::VertexComponentFormat
[−]
[src]
pub struct VertexComponentFormat { pub comp_type: Type, pub dim: Dim, pub comp_size: usize, }
A VertexComponentFormat
gives hints about:
- the type of the component (
Type
) - the dimension of the component (
Dim
) - the number of bytes a single component takes
Fields
comp_type: Type
dim: Dim
comp_size: usize
Trait Implementations
impl Clone for VertexComponentFormat
[src]
fn clone(&self) -> VertexComponentFormat
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 Copy for VertexComponentFormat
[src]
impl Debug for VertexComponentFormat
[src]
impl Eq for VertexComponentFormat
[src]
impl PartialEq for VertexComponentFormat
[src]
fn eq(&self, __arg_0: &VertexComponentFormat) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &VertexComponentFormat) -> bool
This method tests for !=
.