pub struct StepStats {
pub broadphase_pairs: u32,
pub narrowphase_tests: u32,
pub active_contacts: u32,
pub active_manifolds: u32,
pub active_bodies: u32,
pub static_bodies: u32,
pub solver_iterations: u32,
pub ccd_checks: u32,
pub joint_count: u32,
}Expand description
Physics step statistics (per-frame counters)
Fields§
§broadphase_pairs: u32Number of broadphase pairs tested
narrowphase_tests: u32Number of narrowphase tests performed
active_contacts: u32Number of active contacts
active_manifolds: u32Number of contact manifolds
active_bodies: u32Number of active bodies (non-sleeping)
static_bodies: u32Number of static bodies
solver_iterations: u32Number of solver iterations performed
ccd_checks: u32Number of CCD checks
joint_count: u32Number of joint constraints
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StepStats
impl RefUnwindSafe for StepStats
impl Send for StepStats
impl Sync for StepStats
impl Unpin for StepStats
impl UnsafeUnpin for StepStats
impl UnwindSafe for StepStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more