Struct chrome_remote_interface_model::heap_profiler::SamplingHeapProfileSample [−][src]
A single sample from a sampling profile.
Implementations
impl SamplingHeapProfileSample[src]
pub fn new(size: f64, node_id: u32, ordinal: f64) -> Self[src]
pub fn size(&self) -> f64[src]
Allocation size in bytes attributed to the sample.
pub fn node_id(&self) -> u32[src]
Id of the corresponding profile tree node.
pub fn ordinal(&self) -> f64[src]
Time-ordered sample ordinal number. It is unique across all profiles retrieved between startSampling and stopSampling.
Trait Implementations
impl Clone for SamplingHeapProfileSample[src]
fn clone(&self) -> SamplingHeapProfileSample[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for SamplingHeapProfileSample[src]
impl<'de> Deserialize<'de> for SamplingHeapProfileSample[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Serialize for SamplingHeapProfileSample[src]
Auto Trait Implementations
impl RefUnwindSafe for SamplingHeapProfileSample[src]
impl Send for SamplingHeapProfileSample[src]
impl Sync for SamplingHeapProfileSample[src]
impl Unpin for SamplingHeapProfileSample[src]
impl UnwindSafe for SamplingHeapProfileSample[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,