pub struct CompoundMesh<'a> {
pub mesh_data: &'a MeshData,
pub transform: Transform,
pub scale: Vec3,
pub material_indices: [i32; 4],
}Expand description
A mesh with non-uniform scale that lives in a compound. (b3CompoundMesh)
Fields§
§mesh_data: &'a MeshData§transform: Transform§scale: Vec3§material_indices: [i32; 4]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