#[repr(C)]pub struct b2Counters {
pub bodyCount: c_int,
pub shapeCount: c_int,
pub contactCount: c_int,
pub jointCount: c_int,
pub islandCount: c_int,
pub stackUsed: c_int,
pub staticTreeHeight: c_int,
pub treeHeight: c_int,
pub byteCount: c_int,
pub taskCount: c_int,
pub colorCounts: [c_int; 24],
}Expand description
Counters that give details of the simulation size.
Fields§
§bodyCount: c_int§shapeCount: c_int§contactCount: c_int§jointCount: c_int§islandCount: c_int§stackUsed: c_int§staticTreeHeight: c_int§treeHeight: c_int§byteCount: c_int§taskCount: c_int§colorCounts: [c_int; 24]Trait Implementations§
Source§impl Clone for b2Counters
impl Clone for b2Counters
Source§fn clone(&self) -> b2Counters
fn clone(&self) -> b2Counters
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for b2Counters
impl Debug for b2Counters
impl Copy for b2Counters
Auto Trait Implementations§
impl Freeze for b2Counters
impl RefUnwindSafe for b2Counters
impl Send for b2Counters
impl Sync for b2Counters
impl Unpin for b2Counters
impl UnwindSafe for b2Counters
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)