[][src]Struct nphysics2d::counters::SolverCounters

pub struct SolverCounters {
    pub nconstraints: usize,
    pub ncontacts: usize,
    pub velocity_resolution_time: Timer,
    pub assembly_time: Timer,
    pub velocity_update_time: Timer,
    pub position_resolution_time: Timer,
}

Performance counters related to constraints resolution.

Fields

Number of constraints generated.

Number of contacts found.

Time spent for the resolution of the constraints (force computation).

Time spent for the assembly of all the constraints into a linear complentarity problem.

Time spent for the update of the velocity of the bodies.

Time spent for the update of the position of the bodies.

Methods

impl SolverCounters
[src]

Creates a new counter initialized to zero.

Trait Implementations

impl Default for SolverCounters
[src]

impl Display for SolverCounters
[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