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

Trait Implementations

impl Clone for VertexComponentFormat
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for VertexComponentFormat
[src]

impl Debug for VertexComponentFormat
[src]

Formats the value using the given formatter.

impl Eq for VertexComponentFormat
[src]

impl PartialEq for VertexComponentFormat
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.