Struct fxprof_processed_profile::CounterHandle
source · pub struct CounterHandle(/* private fields */);
Expand description
A counter. Can be created with Profile::add_counter
.
Trait Implementations§
source§impl Clone for CounterHandle
impl Clone for CounterHandle
source§fn clone(&self) -> CounterHandle
fn clone(&self) -> CounterHandle
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 CounterHandle
impl Debug for CounterHandle
source§impl Hash for CounterHandle
impl Hash for CounterHandle
source§impl Ord for CounterHandle
impl Ord for CounterHandle
source§fn cmp(&self, other: &CounterHandle) -> Ordering
fn cmp(&self, other: &CounterHandle) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for CounterHandle
impl PartialEq for CounterHandle
source§fn eq(&self, other: &CounterHandle) -> bool
fn eq(&self, other: &CounterHandle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CounterHandle
impl PartialOrd for CounterHandle
source§fn partial_cmp(&self, other: &CounterHandle) -> Option<Ordering>
fn partial_cmp(&self, other: &CounterHandle) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for CounterHandle
impl Eq for CounterHandle
impl StructuralPartialEq for CounterHandle
Auto Trait Implementations§
impl Freeze for CounterHandle
impl RefUnwindSafe for CounterHandle
impl Send for CounterHandle
impl Sync for CounterHandle
impl Unpin for CounterHandle
impl UnwindSafe for CounterHandle
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