pub struct CompoundDef<'a> {
pub capsules: &'a [CompoundCapsuleDef],
pub hulls: &'a [CompoundHullDef<'a>],
pub meshes: &'a [CompoundMeshDef<'a>],
pub spheres: &'a [CompoundSphereDef],
}Expand description
Definition for creating a compound shape. (b3CompoundDef)
Fields§
§capsules: &'a [CompoundCapsuleDef]§hulls: &'a [CompoundHullDef<'a>]§meshes: &'a [CompoundMeshDef<'a>]§spheres: &'a [CompoundSphereDef]Trait Implementations§
Source§impl<'a> Clone for CompoundDef<'a>
impl<'a> Clone for CompoundDef<'a>
Source§fn clone(&self) -> CompoundDef<'a>
fn clone(&self) -> CompoundDef<'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 moreSource§impl<'a> Debug for CompoundDef<'a>
impl<'a> Debug for CompoundDef<'a>
Source§impl<'a> Default for CompoundDef<'a>
impl<'a> Default for CompoundDef<'a>
Source§fn default() -> CompoundDef<'a>
fn default() -> CompoundDef<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for CompoundDef<'a>
impl<'a> RefUnwindSafe for CompoundDef<'a>
impl<'a> Send for CompoundDef<'a>
impl<'a> Sync for CompoundDef<'a>
impl<'a> Unpin for CompoundDef<'a>
impl<'a> UnsafeUnpin for CompoundDef<'a>
impl<'a> UnwindSafe for CompoundDef<'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