pub struct Mesh { /* private fields */ }
Expand description
Collection of vertices and indices that define a 3D object.
Implementations§
Source§impl Mesh
impl Mesh
Sourcepub fn attributes(&self) -> &[VertexAttribute]
pub fn attributes(&self) -> &[VertexAttribute]
Gets the attributes of the mesh.
Trait Implementations§
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