Struct chrome_remote_interface_model::layer_tree::ProfileSnapshotCommand[][src]

pub struct ProfileSnapshotCommand { /* fields omitted */ }

Implementations

impl ProfileSnapshotCommand[src]

pub fn builder() -> ProfileSnapshotCommandBuilder[src]

pub fn snapshot_id(&self) -> &SnapshotId[src]

The id of the layer snapshot.

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

The maximum number of times to replay the snapshot (1, if not specified).

pub fn min_duration(&self) -> Option<&f64>[src]

The minimum duration (in seconds) to replay the snapshot.

pub fn clip_rect(&self) -> Option<&Rect>[src]

The clip rectangle to apply when replaying the snapshot.

Trait Implementations

impl Clone for ProfileSnapshotCommand[src]

impl Command for ProfileSnapshotCommand[src]

type Return = ProfileSnapshotReturn

Return type.

impl Debug for ProfileSnapshotCommand[src]

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

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