struct UnitTime {
    unit: Unit,
    target: String,
    start: f64,
    duration: f64,
    rmeta_time: Option<f64>,
    unlocked_units: Vec<Unit>,
    unlocked_rmeta_units: Vec<Unit>,
}
Expand description

Tracking information for an individual unit.

Fields§

§unit: Unit§target: String

A string describing the cargo target.

§start: f64

The time when this unit started as an offset in seconds from Timings::start.

§duration: f64

Total time to build this unit in seconds.

§rmeta_time: Option<f64>

The time when the .rmeta file was generated, an offset in seconds from start.

§unlocked_units: Vec<Unit>

Reverse deps that are freed to run after this unit finished.

§unlocked_rmeta_units: Vec<Unit>

Same as unlocked_units, but unlocked by rmeta.

Implementations§

Returns the codegen time as (rmeta_time, codegen_time, percent of total)

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.

Size: 112 bytes