#[repr(C)]pub struct b3Capacity {
pub staticShapeCount: c_int,
pub dynamicShapeCount: c_int,
pub staticBodyCount: c_int,
pub dynamicBodyCount: c_int,
pub contactCount: c_int,
}Expand description
Optional world capacities that can be use to avoid run-time allocations @ingroup world
Fields§
§staticShapeCount: c_intNumber of expected static shapes.
dynamicShapeCount: c_intNumber of expected dynamic and kinematic shapes.
staticBodyCount: c_intNumber of expected static bodies.
dynamicBodyCount: c_intNumber of expected dynamic and kinematic bodies.
contactCount: c_intNumber of expected contacts.
Trait Implementations§
Source§impl Clone for b3Capacity
impl Clone for b3Capacity
Source§fn clone(&self) -> b3Capacity
fn clone(&self) -> b3Capacity
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 b3Capacity
Auto Trait Implementations§
impl Freeze for b3Capacity
impl RefUnwindSafe for b3Capacity
impl Send for b3Capacity
impl Sync for b3Capacity
impl Unpin for b3Capacity
impl UnsafeUnpin for b3Capacity
impl UnwindSafe for b3Capacity
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