Struct dunge::vertex::FlatVertex
source · #[repr(C)]pub struct FlatVertex {
pub pos: [f32; 2],
pub map: [f32; 2],
}
Expand description
Vertex for drawing flat sprites.
Fields§
§pos: [f32; 2]
§map: [f32; 2]
Trait Implementations§
source§impl Clone for FlatVertex
impl Clone for FlatVertex
source§fn clone(&self) -> FlatVertex
fn clone(&self) -> FlatVertex
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