Struct chrome_remote_interface_model::layer_tree::ReplaySnapshotCommand[][src]

pub struct ReplaySnapshotCommand { /* fields omitted */ }

Replays the layer snapshot and returns the resulting bitmap.

Implementations

impl ReplaySnapshotCommand[src]

pub fn builder() -> ReplaySnapshotCommandBuilder[src]

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

The id of the layer snapshot.

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

The first step to replay from (replay from the very start if not specified).

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

The last step to replay to (replay till the end if not specified).

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

The scale to apply while replaying (defaults to 1).

Trait Implementations

impl Clone for ReplaySnapshotCommand[src]

impl Command for ReplaySnapshotCommand[src]

type Return = ReplaySnapshotReturn

Return type.

impl Debug for ReplaySnapshotCommand[src]

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

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