pub struct CategoryPairHandle(_, _);
Expand description
A profiling category pair, consisting of a category and an optional subcategory. Can be set on stack frames and markers.
Category pairs can be created with Profile::add_subcategory
and from a CategoryHandle
.
Trait Implementations§
source§impl Clone for CategoryPairHandle
impl Clone for CategoryPairHandle
source§fn clone(&self) -> CategoryPairHandle
fn clone(&self) -> CategoryPairHandle
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 CategoryPairHandle
impl Debug for CategoryPairHandle
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 CategoryPairHandle
impl Hash for CategoryPairHandle
source§impl Ord for CategoryPairHandle
impl Ord for CategoryPairHandle
source§fn cmp(&self, other: &CategoryPairHandle) -> Ordering
fn cmp(&self, other: &CategoryPairHandle) -> 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<CategoryPairHandle> for CategoryPairHandle
impl PartialEq<CategoryPairHandle> for CategoryPairHandle
source§fn eq(&self, other: &CategoryPairHandle) -> bool
fn eq(&self, other: &CategoryPairHandle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<CategoryPairHandle> for CategoryPairHandle
impl PartialOrd<CategoryPairHandle> for CategoryPairHandle
source§fn partial_cmp(&self, other: &CategoryPairHandle) -> Option<Ordering>
fn partial_cmp(&self, other: &CategoryPairHandle) -> 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 CategoryPairHandle
impl Eq for CategoryPairHandle
impl StructuralEq for CategoryPairHandle
impl StructuralPartialEq for CategoryPairHandle
Auto Trait Implementations§
impl RefUnwindSafe for CategoryPairHandle
impl Send for CategoryPairHandle
impl Sync for CategoryPairHandle
impl Unpin for CategoryPairHandle
impl UnwindSafe for CategoryPairHandle
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