pub enum Unit {
Us,
UsShown,
Rate,
Count,
Share,
}Expand description
What a row counts.
Variants§
Us
µs a frame costs: an average, a p95, a share of a total.
UsShown
µs shown and not counted: a maximum, vsync’s wait, time asleep.
Rate
How many a frame: calls, a counter’s average.
Count
How many in the recording: frames, burns.
A fraction of the frames.
Implementations§
Trait Implementations§
impl Copy for Unit
impl Eq for Unit
impl StructuralPartialEq for Unit
Auto Trait Implementations§
impl Forget for Unit
impl Freeze for Unit
impl RefUnwindSafe for Unit
impl Send for Unit
impl Sync for Unit
impl Unpin for Unit
impl UnsafeUnpin for Unit
impl UnwindSafe for Unit
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