pub struct StageTiming {
pub name: &'static str,
pub elapsed_micros: u128,
}Fields§
§name: &'static str§elapsed_micros: u128Trait 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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StageTiming
impl Debug for StageTiming
Source§impl Default for StageTiming
impl Default for StageTiming
Source§fn default() -> StageTiming
fn default() -> StageTiming
Returns the “default value” for a type. Read more
Source§impl PartialEq for StageTiming
impl PartialEq for StageTiming
Source§fn eq(&self, other: &StageTiming) -> bool
fn eq(&self, other: &StageTiming) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for StageTiming
impl StructuralPartialEq for StageTiming
Auto 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more