[][src]Struct nphysics2d::counters::CollisionDetectionCounters

pub struct CollisionDetectionCounters {
    pub ncontact_pairs: usize,
    pub broad_phase_time: Timer,
    pub narrow_phase_time: Timer,
}

Performance counters related to collision detection.

Fields

Number of contact pairs detected.

Time spent for the broad-phase of the collision detection.

Time spent for the narrow-phase of the collision detection.

Methods

impl CollisionDetectionCounters
[src]

Creates a new counter initialized to zero.

Trait Implementations

impl Default for CollisionDetectionCounters
[src]

impl Display for CollisionDetectionCounters
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 

impl<T> Same for T

Should always be Self