#[repr(C)]pub struct b3CompoundDef {
pub capsules: *mut b3CompoundCapsuleDef,
pub capsuleCount: c_int,
pub hulls: *mut b3CompoundHullDef,
pub hullCount: c_int,
pub meshes: *mut b3CompoundMeshDef,
pub meshCount: c_int,
pub spheres: *mut b3CompoundSphereDef,
pub sphereCount: c_int,
}Expand description
Definition for creating a compound shape. All this data is fully cloned into the run-time compound shape.
Fields§
§capsules: *mut b3CompoundCapsuleDefCapsule instances.
capsuleCount: c_intNumber of capsules.
hulls: *mut b3CompoundHullDefHulls instances.
hullCount: c_intNumber of hull instances.
meshes: *mut b3CompoundMeshDefMesh instances.
meshCount: c_intNumber of mesh instances.
spheres: *mut b3CompoundSphereDefSphere instances.
sphereCount: c_intNumber of spheres.
Trait Implementations§
Source§impl Clone for b3CompoundDef
impl Clone for b3CompoundDef
Source§fn clone(&self) -> b3CompoundDef
fn clone(&self) -> b3CompoundDef
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 Copy for b3CompoundDef
Auto Trait Implementations§
impl !Send for b3CompoundDef
impl !Sync for b3CompoundDef
impl Freeze for b3CompoundDef
impl RefUnwindSafe for b3CompoundDef
impl Unpin for b3CompoundDef
impl UnsafeUnpin for b3CompoundDef
impl UnwindSafe for b3CompoundDef
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