pub struct SamplingHeapProfile { /* private fields */ }Available on crate features
experimental and HeapProfiler and Runtime only.Expand description
Sampling profile.
Implementations§
Source§impl SamplingHeapProfile
impl SamplingHeapProfile
pub fn new( head: SamplingHeapProfileNode, samples: Vec<SamplingHeapProfileSample>, ) -> Self
pub fn head(&self) -> &SamplingHeapProfileNode
pub fn samples(&self) -> &[SamplingHeapProfileSample]
Trait Implementations§
Source§impl Clone for SamplingHeapProfile
impl Clone for SamplingHeapProfile
Source§fn clone(&self) -> SamplingHeapProfile
fn clone(&self) -> SamplingHeapProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SamplingHeapProfile
impl Debug for SamplingHeapProfile
Source§impl<'de> Deserialize<'de> for SamplingHeapProfile
impl<'de> Deserialize<'de> for SamplingHeapProfile
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 SamplingHeapProfile
impl RefUnwindSafe for SamplingHeapProfile
impl Send for SamplingHeapProfile
impl Sync for SamplingHeapProfile
impl Unpin for SamplingHeapProfile
impl UnsafeUnpin for SamplingHeapProfile
impl UnwindSafe for SamplingHeapProfile
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