Struct chrome_remote_interface_model::profiler::PositionTickInfo[][src]

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

Specifies a number of samples attributed to a certain source position.

Implementations

impl PositionTickInfo[src]

pub fn new(line: u32, ticks: u32) -> Self[src]

pub fn line(&self) -> u32[src]

Source line number (1-based).

pub fn ticks(&self) -> u32[src]

Number of samples attributed to the source line.

Trait Implementations

impl Clone for PositionTickInfo[src]

impl Debug for PositionTickInfo[src]

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

impl Serialize for PositionTickInfo[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.