#[repr(C)]pub struct Vertex {
pub position: [f32; 3],
pub uv0: [f32; 2],
pub uv1: [f32; 2],
pub normal: [f32; 3],
pub bitangent: [f32; 4],
pub color: [f32; 4],
pub bone_weight: [f32; 4],
pub bone_id: [u8; 4],
}
Fields§
§position: [f32; 3]
§uv0: [f32; 2]
§uv1: [f32; 2]
§normal: [f32; 3]
§bitangent: [f32; 4]
§color: [f32; 4]
§bone_weight: [f32; 4]
§bone_id: [u8; 4]
Trait Implementations§
impl Copy for Vertex
impl StructuralPartialEq 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