Struct dunge::vertex::ColorVertex
source · #[repr(C)]pub struct ColorVertex {
pub pos: [f32; 3],
pub col: [f32; 3],
}
Expand description
Vertex for drawing colored triangles.
Fields§
§pos: [f32; 3]
§col: [f32; 3]
Trait Implementations§
source§impl Clone for ColorVertex
impl Clone for ColorVertex
source§fn clone(&self) -> ColorVertex
fn clone(&self) -> ColorVertex
Returns a copy 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 more