pub struct Mesh<V: AttributeDescriptor, I> {
pub vertices: Vec<V>,
pub indices: Vec<I>,
}
Expand description
Mesh
struct stores the mesh data in CPU memory
Fields§
§vertices: Vec<V>
§indices: Vec<I>
Auto Trait Implementations§
impl<V, I> Freeze for Mesh<V, I>
impl<V, I> RefUnwindSafe for Mesh<V, I>where
V: RefUnwindSafe,
I: RefUnwindSafe,
impl<V, I> Send for Mesh<V, I>
impl<V, I> Sync for Mesh<V, I>
impl<V, I> Unpin for Mesh<V, I>
impl<V, I> UnwindSafe for Mesh<V, I>where
V: UnwindSafe,
I: UnwindSafe,
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