[][src]Struct cranelift_codegen::timing::TimingToken

pub struct TimingToken { /* fields omitted */ }

A timing token is responsible for timing the currently running pass. Timing starts when it is created and ends when it is dropped.

Multiple passes can be active at the same time, but they must be started and stopped in a LIFO fashion.

Trait Implementations

impl Drop for TimingToken[src]

Dropping a timing token indicated the end of the pass.

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.