pub struct StepTime {
pub run: Duration,
pub checks: Duration,
}Expand description
A step’s wall-clock time, as the pass manager measured it: for a program’s log and for profiling, not part of what
a conversion makes (it differs from run to run), so a StepReport’s equality leaves it out.
Fields§
§run: DurationThe pass’s own Pass::run.
checks: DurationThe manager’s work around it: the requirements, the declarations and their effects, conservation diagnostics
and the verifier (PassManager::with_pass_checks).
Trait Implementations§
impl Copy for StepTime
impl Eq for StepTime
impl StructuralPartialEq for StepTime
Auto Trait Implementations§
impl Forget for StepTime
impl Freeze for StepTime
impl RefUnwindSafe for StepTime
impl Send for StepTime
impl Sync for StepTime
impl Unpin for StepTime
impl UnsafeUnpin for StepTime
impl UnwindSafe for StepTime
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.