pub struct StageTiming {
pub name: &'static str,
pub us: f64,
}Expand description
Per-stage timing entry.
Fields§
§name: &'static strStage name (e.g. “audio_prep”, “mel”, “onnx”).
us: f64Time in microseconds for this stage.
Trait Implementations§
Source§impl Clone for StageTiming
impl Clone for StageTiming
Source§fn clone(&self) -> StageTiming
fn clone(&self) -> StageTiming
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StageTiming
impl RefUnwindSafe for StageTiming
impl Send for StageTiming
impl Sync for StageTiming
impl Unpin for StageTiming
impl UnsafeUnpin for StageTiming
impl UnwindSafe for StageTiming
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