pub struct BroadphaseStats {
pub proxies: usize,
pub height: i32,
}Expand description
What the Broadphase::DynamicTree broad-phase currently holds, returned by
PhysicsWorld::broadphase_stats.
Fields§
§proxies: usizeBodies with a proxy in the tree.
height: i32Height of the tree (0 when empty).
Trait Implementations§
Source§impl Clone for BroadphaseStats
impl Clone for BroadphaseStats
impl Copy for BroadphaseStats
Source§impl Debug for BroadphaseStats
impl Debug for BroadphaseStats
impl Eq for BroadphaseStats
Source§impl PartialEq for BroadphaseStats
impl PartialEq for BroadphaseStats
impl StructuralPartialEq for BroadphaseStats
Auto Trait Implementations§
impl Freeze for BroadphaseStats
impl RefUnwindSafe for BroadphaseStats
impl Send for BroadphaseStats
impl Sync for BroadphaseStats
impl Unpin for BroadphaseStats
impl UnsafeUnpin for BroadphaseStats
impl UnwindSafe for BroadphaseStats
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