Struct stak_profiler::Stack
source · pub struct Stack { /* private fields */ }Expand description
A stack.
Implementations§
source§impl Stack
impl Stack
sourcepub fn reverse_frames(&mut self)
pub fn reverse_frames(&mut self)
Reverses frames.
sourcepub fn collapse_frames(&mut self)
pub fn collapse_frames(&mut self)
Collapses frames.
sourcepub fn display_local<'a>(&'a self, local_name: &'a str) -> impl Display + '_
pub fn display_local<'a>(&'a self, local_name: &'a str) -> impl Display + '_
Displays a stack with a fixed local names.
Trait Implementations§
source§impl Ord for Stack
impl Ord for Stack
source§impl PartialEq for Stack
impl PartialEq for Stack
source§impl PartialOrd for Stack
impl PartialOrd for Stack
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 Eq for Stack
impl StructuralPartialEq for Stack
Auto Trait Implementations§
impl Freeze for Stack
impl RefUnwindSafe for Stack
impl Send for Stack
impl Sync for Stack
impl Unpin for Stack
impl UnwindSafe for Stack
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