Expand description
Borrowed mesh data.
Fields
vertices: &'a [Vertex]
List of vertices.
indices: &'a [u32]
List of indices (indices into vertices
).
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for MeshData<'a>
impl<'a> Send for MeshData<'a>
impl<'a> Sync for MeshData<'a>
impl<'a> Unpin for MeshData<'a>
impl<'a> UnwindSafe for MeshData<'a>
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
sourceimpl<T> HasMut<T> for T
impl<T> HasMut<T> for T
sourcefn retrieve_mut(&mut self) -> &mut T
fn retrieve_mut(&mut self) -> &mut T
Method to retrieve the context type as mutable.