[][src]Struct nphysics2d::counters::Counters

pub struct Counters { /* fields omitted */ }

Aggregation of all the performances counters tracked by nphysics.

Methods

impl Counters
[src]

Create a new set of counters initialized to wero.

Enable all the counters.

Return true if the counters are enabled.

Disable all the counters.

Notify that the time-step has started.

Notfy that the time-step has finished.

Total time spent for one of the physics engine.

Notify that the custom operation has started.

Notfy that the custom operation has finished.

Total time of a custom event.

Set the number of constraints generated.

Set the number of contacts generated.

Set the number of contact pairs generated.

impl Counters
[src]

Start this timer.

Stop this timer.

Gets the time elapsed for this timer.

impl Counters
[src]

Start this timer.

Stop this timer.

Gets the time elapsed for this timer.

impl Counters
[src]

Start this timer.

Stop this timer.

Gets the time elapsed for this timer.

impl Counters
[src]

Start this timer.

Stop this timer.

Gets the time elapsed for this timer.

impl Counters
[src]

Start this timer.

Stop this timer.

Gets the time elapsed for this timer.

impl Counters
[src]

Start this timer.

Stop this timer.

Gets the time elapsed for this timer.

impl Counters
[src]

Start this timer.

Stop this timer.

Gets the time elapsed for this timer.

impl Counters
[src]

Start this timer.

Stop this timer.

Gets the time elapsed for this timer.

impl Counters
[src]

Start this timer.

Stop this timer.

Gets the time elapsed for this timer.

impl Counters
[src]

Start this timer.

Stop this timer.

Gets the time elapsed for this timer.

Trait Implementations

impl Display for Counters
[src]

Auto Trait Implementations

impl Send for Counters

impl Sync for Counters

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