pub struct MeshDesc<'a> {
pub label: Cow<'a, str>,
pub geometry: Geometry<'a>,
}Expand description
One mesh a scene makes resident.
Fields§
§label: Cow<'a, str>Debug name. A DAG’s levels are named "{label} level {n}", so a capture
says which level a buffer belongs to.
geometry: Geometry<'a>The triangles and clusters themselves.
Trait Implementations§
impl<'a> StructuralPartialEq for MeshDesc<'a>
Auto Trait Implementations§
impl<'a> Forget for MeshDesc<'a>
impl<'a> Freeze for MeshDesc<'a>
impl<'a> Move for MeshDesc<'a>
impl<'a> RefUnwindSafe for MeshDesc<'a>
impl<'a> Send for MeshDesc<'a>
impl<'a> Sync for MeshDesc<'a>
impl<'a> Unpin for MeshDesc<'a>
impl<'a> UnsafeUnpin for MeshDesc<'a>
impl<'a> UnwindSafe for MeshDesc<'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