pub struct MeshData {
pub vertices: Vec<f32>,
pub indices: Vec<u32>,
}Expand description
Interleaved vertices (position, normal, uv: 8 floats) and indices.
Fields§
§vertices: Vec<f32>§indices: Vec<u32>Trait Implementations§
Auto Trait Implementations§
impl Forget for MeshData
impl Freeze for MeshData
impl Move for MeshData
impl RefUnwindSafe for MeshData
impl Send for MeshData
impl Sync for MeshData
impl Unpin for MeshData
impl UnsafeUnpin for MeshData
impl UnwindSafe for MeshData
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