pub struct TimingEntry {
pub name: String,
pub duration_us: u64,
}Expand description
A single timing entry recording how long a named phase took.
Fields§
§name: String§duration_us: u64Trait Implementations§
Source§impl Clone for TimingEntry
impl Clone for TimingEntry
Source§fn clone(&self) -> TimingEntry
fn clone(&self) -> TimingEntry
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 TimingEntry
impl Debug for TimingEntry
Auto Trait Implementations§
impl Freeze for TimingEntry
impl RefUnwindSafe for TimingEntry
impl Send for TimingEntry
impl Sync for TimingEntry
impl Unpin for TimingEntry
impl UnsafeUnpin for TimingEntry
impl UnwindSafe for TimingEntry
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