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 PartialOrd for Stack
impl PartialOrd for Stack
impl 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)