pub struct CompoundMesh<'a> {
pub mesh: ShapeMesh<'a>,
pub transform: Transform,
pub material_indices: [i32; 4],
}Expand description
Mesh child returned from a compound.
Fields§
§mesh: ShapeMesh<'a>Borrowed mesh geometry and per-child scale.
transform: TransformChild transform in compound-local space.
material_indices: [i32; 4]Material indices used by the mesh child’s material slots.
Trait Implementations§
Source§impl<'a> Clone for CompoundMesh<'a>
impl<'a> Clone for CompoundMesh<'a>
Source§fn clone(&self) -> CompoundMesh<'a>
fn clone(&self) -> CompoundMesh<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for CompoundMesh<'a>
Auto Trait Implementations§
impl<'a> Freeze for CompoundMesh<'a>
impl<'a> RefUnwindSafe for CompoundMesh<'a>
impl<'a> Send for CompoundMesh<'a>
impl<'a> Sync for CompoundMesh<'a>
impl<'a> Unpin for CompoundMesh<'a>
impl<'a> UnsafeUnpin for CompoundMesh<'a>
impl<'a> UnwindSafe for CompoundMesh<'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