Struct ttfb::DurationPair
source · pub struct DurationPair { /* private fields */ }Expand description
Bundles the duration of a measurement step with the total duration since the beginning of the overall measurement.
Implementations§
Trait Implementations§
source§impl Clone for DurationPair
impl Clone for DurationPair
source§fn clone(&self) -> DurationPair
fn clone(&self) -> DurationPair
Returns a copy 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 moresource§impl Debug for DurationPair
impl Debug for DurationPair
source§impl Default for DurationPair
impl Default for DurationPair
source§fn default() -> DurationPair
fn default() -> DurationPair
Returns the “default value” for a type. Read more
source§impl Hash for DurationPair
impl Hash for DurationPair
source§impl PartialEq for DurationPair
impl PartialEq for DurationPair
source§fn eq(&self, other: &DurationPair) -> bool
fn eq(&self, other: &DurationPair) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for DurationPair
impl Eq for DurationPair
impl StructuralEq for DurationPair
impl StructuralPartialEq for DurationPair
Auto Trait Implementations§
impl RefUnwindSafe for DurationPair
impl Send for DurationPair
impl Sync for DurationPair
impl Unpin for DurationPair
impl UnwindSafe for DurationPair
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