pub struct MeshData<'a> {
pub vertices: &'a [Vertex],
pub indices: &'a [u32],
}
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§
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
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
source§impl<T> HasMut<T> for T
impl<T> HasMut<T> for T
source§fn retrieve_mut(&mut self) -> &mut T
fn retrieve_mut(&mut self) -> &mut T
Method to retrieve the context type as mutable.