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 Freeze for Mesh
impl RefUnwindSafe for Mesh
impl Send for Mesh
impl Sync for Mesh
impl Unpin for Mesh
impl UnwindSafe for Mesh
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