pub struct Percentiles {
pub median: Duration,
pub p95: Duration,
}Expand description
The median and the 95th percentile of a duration.
Fields§
§median: DurationHalf of the frames took less than this.
p95: Duration95% of the frames took less than this.
Trait Implementations§
Source§impl Clone for Percentiles
impl Clone for Percentiles
Source§fn clone(&self) -> Percentiles
fn clone(&self) -> Percentiles
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 moreimpl Copy for Percentiles
Source§impl Debug for Percentiles
impl Debug for Percentiles
Source§impl Default for Percentiles
impl Default for Percentiles
Source§fn default() -> Percentiles
fn default() -> Percentiles
Returns the “default value” for a type. Read more
impl Eq for Percentiles
Source§impl PartialEq for Percentiles
impl PartialEq for Percentiles
impl StructuralPartialEq for Percentiles
Auto Trait Implementations§
impl Freeze for Percentiles
impl RefUnwindSafe for Percentiles
impl Send for Percentiles
impl Sync for Percentiles
impl Unpin for Percentiles
impl UnsafeUnpin for Percentiles
impl UnwindSafe for Percentiles
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