Struct bismuth::render::pipeline::Vertex
[−]
pub struct Vertex { pub position: [f32; 3], pub uv: [f32; 2], pub color: [f32; 4], }
Fields
position: [f32; 3]
uv: [f32; 2]
color: [f32; 4]
Methods
impl Vertex
[src]
Trait Implementations
impl Clone for Vertex
fn clone(&self) -> Vertex
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 Vertex
impl Debug for Vertex
impl Pod for Vertex
impl Structure<Format> for Vertex
impl Default for Vertex
[src]
impl Eq for Vertex
[src]
impl Hash for Vertex
[src]
fn hash<H>(&self, state: &mut H) where
H: Hasher,
H: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more