Struct flo_render_canvas::Vertex2D [−][src]
#[repr(C, packed)]pub struct Vertex2D { pub pos: [f32; 2], pub tex_coord: [f32; 2], pub color: [u8; 4], }
Expand description
2D vertex representation
Fields
pos: [f32; 2]
tex_coord: [f32; 2]
color: [u8; 4]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Vertex2D
impl UnwindSafe for Vertex2D
Blanket Implementations
Mutably borrows from an owned value. Read more