Struct fxprof_processed_profile::CategoryHandle
source · pub struct CategoryHandle(_);
Expand description
A profiling category, can be set on stack frames and markers as part of a CategoryPairHandle
.
Categories can be created with Profile::add_category
.
Implementations§
Trait Implementations§
source§impl Clone for CategoryHandle
impl Clone for CategoryHandle
source§fn clone(&self) -> CategoryHandle
fn clone(&self) -> CategoryHandle
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 CategoryHandle
impl Debug for CategoryHandle
source§impl From<CategoryHandle> for CategoryPairHandle
impl From<CategoryHandle> for CategoryPairHandle
source§fn from(category: CategoryHandle) -> Self
fn from(category: CategoryHandle) -> Self
Converts to this type from the input type.
source§impl Hash for CategoryHandle
impl Hash for CategoryHandle
source§impl Ord for CategoryHandle
impl Ord for CategoryHandle
source§fn cmp(&self, other: &CategoryHandle) -> Ordering
fn cmp(&self, other: &CategoryHandle) -> 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<CategoryHandle> for CategoryHandle
impl PartialEq<CategoryHandle> for CategoryHandle
source§fn eq(&self, other: &CategoryHandle) -> bool
fn eq(&self, other: &CategoryHandle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<CategoryHandle> for CategoryHandle
impl PartialOrd<CategoryHandle> for CategoryHandle
source§fn partial_cmp(&self, other: &CategoryHandle) -> Option<Ordering>
fn partial_cmp(&self, other: &CategoryHandle) -> 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 moresource§impl Serialize for CategoryHandle
impl Serialize for CategoryHandle
impl Copy for CategoryHandle
impl Eq for CategoryHandle
impl StructuralEq for CategoryHandle
impl StructuralPartialEq for CategoryHandle
Auto Trait Implementations§
impl RefUnwindSafe for CategoryHandle
impl Send for CategoryHandle
impl Sync for CategoryHandle
impl Unpin for CategoryHandle
impl UnwindSafe for CategoryHandle
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