pub struct Vertex {
pub position: [f32; 3],
pub tex_coord1: [f32; 2],
pub tex_coord2: [f32; 2],
pub normal: [f32; 3],
pub color: [u8; 4],
}
Fields§
§position: [f32; 3]
§tex_coord1: [f32; 2]
§tex_coord2: [f32; 2]
§normal: [f32; 3]
§color: [u8; 4]
Trait Implementations§
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