Struct chrome_remote_interface_model::profiler::Profile[][src]

pub struct Profile { /* fields omitted */ }
This is supported on crate features Profiler and Runtime and Debugger only.

Profile.

Implementations

impl Profile[src]

pub fn builder() -> ProfileBuilder[src]

pub fn nodes(&self) -> &[ProfileNode]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

The list of profile nodes. First item is the root node.

pub fn start_time(&self) -> f64[src]

Profiling start timestamp in microseconds.

pub fn end_time(&self) -> f64[src]

Profiling end timestamp in microseconds.

pub fn samples(&self) -> Option<&Vec<u32>>[src]

Ids of samples top nodes.

pub fn time_deltas(&self) -> Option<&Vec<u32>>[src]

Time intervals between adjacent samples in microseconds. The first delta is relative to the profile startTime.

Trait Implementations

impl Clone for Profile[src]

impl Debug for Profile[src]

impl<'de> Deserialize<'de> for Profile[src]

impl Serialize for Profile[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.