pub struct Counters {Show 20 fields
pub body_count: i32,
pub shape_count: i32,
pub contact_count: i32,
pub joint_count: i32,
pub island_count: i32,
pub stack_used: i32,
pub arena_capacity: i32,
pub static_tree_height: i32,
pub tree_height: i32,
pub sat_call_count: i32,
pub sat_cache_hit_count: i32,
pub byte_count: i32,
pub task_count: i32,
pub color_counts: [i32; 24],
pub manifold_counts: [i32; 8],
pub awake_contact_count: i32,
pub recycled_contact_count: i32,
pub distance_iterations: i32,
pub push_back_iterations: i32,
pub root_iterations: i32,
}Expand description
Counters that give details of the simulation size. (b3Counters)
byte_count, stack_used, arena_capacity, and task_count are always zero in this port: there is no global allocation tracker, no arena stack allocator, and no task system in the serial Rust implementation.
Fields§
§body_count: i32§shape_count: i32§contact_count: i32§joint_count: i32§island_count: i32§stack_used: i32§arena_capacity: i32§static_tree_height: i32§tree_height: i32§sat_call_count: i32§sat_cache_hit_count: i32§byte_count: i32§task_count: i32§color_counts: [i32; 24]§manifold_counts: [i32; 8]§awake_contact_count: i32Number of contacts touched by the collide pass (graph contacts + awake-set non-touching).
recycled_contact_count: i32Number of contacts recycled in the most recent step.
distance_iterations: i32Maximum number of time of impact iterations
push_back_iterations: i32§root_iterations: i32Trait Implementations§
impl Copy for Counters
impl Eq for Counters
impl StructuralPartialEq for Counters
Auto Trait Implementations§
impl Freeze for Counters
impl RefUnwindSafe for Counters
impl Send for Counters
impl Sync for Counters
impl Unpin for Counters
impl UnsafeUnpin for Counters
impl UnwindSafe for Counters
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