Struct allegro_primitives::Vertex
source · #[repr(C)]pub struct Vertex {
pub x: f32,
pub y: f32,
pub z: f32,
pub u: f32,
pub v: f32,
pub color: Color,
}
Fields§
§x: f32
§y: f32
§z: f32
§u: f32
§v: f32
§color: Color
Trait Implementations§
source§impl VertexType for Vertex
impl VertexType for Vertex
fn get_decl(_: &PrimitivesAddon) -> VertexDecl
impl Copy for Vertex
Auto Trait Implementations§
impl Freeze for Vertex
impl RefUnwindSafe for Vertex
impl Send for Vertex
impl Sync for Vertex
impl Unpin for Vertex
impl UnwindSafe for Vertex
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more