pub struct Mesh {
pub vertices: Vec<Vertex>,
pub indices: Vec<u16>,
pub texture: Option<Texture2D>,
}
Fields
vertices: Vec<Vertex>
indices: Vec<u16>
texture: Option<Texture2D>
Auto Trait Implementations
impl RefUnwindSafe for Mesh
impl Send for Mesh
impl Sync for Mesh
impl Unpin for Mesh
impl UnwindSafe for Mesh
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more