Struct allocative::FlameGraph
source · pub struct FlameGraph { /* private fields */ }
Expand description
Node in flamegraph tree.
Can be written to flamegraph format with write
.
Implementations§
source§impl FlameGraph
impl FlameGraph
pub fn total_size(&self) -> usize
sourcepub fn add(&mut self, other: FlameGraph)
pub fn add(&mut self, other: FlameGraph)
Add another flamegraph to this one.
sourcepub fn add_child(&mut self, key: Key, child: FlameGraph)
pub fn add_child(&mut self, key: Key, child: FlameGraph)
Add a child node to the flamegraph, merging if it already exists.
Trait Implementations§
source§impl Clone for FlameGraph
impl Clone for FlameGraph
source§fn clone(&self) -> FlameGraph
fn clone(&self) -> FlameGraph
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 FlameGraph
impl Debug for FlameGraph
source§impl Default for FlameGraph
impl Default for FlameGraph
source§fn default() -> FlameGraph
fn default() -> FlameGraph
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for FlameGraph
impl Send for FlameGraph
impl Sync for FlameGraph
impl Unpin for FlameGraph
impl UnwindSafe for FlameGraph
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