pub struct SamplingHeapProfileNode {
pub callFrame: CallFrame,
pub selfSize: f64,
pub id: u64,
pub children: Vec<SamplingHeapProfileNode>,
}Expand description
Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes.
Fields§
§callFrame: CallFrameFunction location.
selfSize: f64Allocations size in bytes for the node excluding children.
id: u64Node id. Ids are unique across all profiles collected between startSampling and stopSampling.
children: Vec<SamplingHeapProfileNode>Child nodes.
Trait Implementations§
Source§impl Clone for SamplingHeapProfileNode
impl Clone for SamplingHeapProfileNode
Source§fn clone(&self) -> SamplingHeapProfileNode
fn clone(&self) -> SamplingHeapProfileNode
Returns a duplicate 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 SamplingHeapProfileNode
impl Debug for SamplingHeapProfileNode
Source§impl Default for SamplingHeapProfileNode
impl Default for SamplingHeapProfileNode
Source§fn default() -> SamplingHeapProfileNode
fn default() -> SamplingHeapProfileNode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SamplingHeapProfileNode
impl<'de> Deserialize<'de> for SamplingHeapProfileNode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SamplingHeapProfileNode
impl RefUnwindSafe for SamplingHeapProfileNode
impl Send for SamplingHeapProfileNode
impl Sync for SamplingHeapProfileNode
impl Unpin for SamplingHeapProfileNode
impl UnsafeUnpin for SamplingHeapProfileNode
impl UnwindSafe for SamplingHeapProfileNode
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