pub struct BroadPhaseStats {
pub object_count: usize,
pub cell_count: usize,
pub cell_entry_count: usize,
pub candidate_pair_count: usize,
pub selected_strategy: BroadPhase2Strategy,
}Expand description
Runtime statistics for broad-phase collision detection.
Fields§
§object_count: usizeNumber of objects indexed.
cell_count: usizeNumber of occupied cells.
cell_entry_count: usizeNumber of object-cell entries.
candidate_pair_count: usizeNumber of candidate pairs emitted.
selected_strategy: BroadPhase2StrategyStrategy selected after auto resolution.
Trait Implementations§
Source§impl Clone for BroadPhaseStats
impl Clone for BroadPhaseStats
Source§fn clone(&self) -> BroadPhaseStats
fn clone(&self) -> BroadPhaseStats
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 BroadPhaseStats
Source§impl Debug for BroadPhaseStats
impl Debug for BroadPhaseStats
Source§impl Default for BroadPhaseStats
impl Default for BroadPhaseStats
impl Eq for BroadPhaseStats
Source§impl PartialEq for BroadPhaseStats
impl PartialEq for BroadPhaseStats
Source§fn eq(&self, other: &BroadPhaseStats) -> bool
fn eq(&self, other: &BroadPhaseStats) -> bool
Tests for
self and other values to be equal, and is used by ==.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