Struct chrome_remote_interface_model::layer_tree::ReplaySnapshotCommandBuilder[][src]

pub struct ReplaySnapshotCommandBuilder { /* fields omitted */ }
This is supported on crate features experimental and LayerTree and DOM only.

Implementations

impl ReplaySnapshotCommandBuilder[src]

pub fn snapshot_id(&mut self, v: SnapshotId) -> &mut Self[src]

The id of the layer snapshot.

pub fn from_step(&mut self, v: u32) -> &mut Self[src]

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

pub fn to_step(&mut self, v: u32) -> &mut Self[src]

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

pub fn scale(&mut self, v: f64) -> &mut Self[src]

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

pub fn build(&mut self) -> Result<ReplaySnapshotCommand, &'static str>[src]

Trait Implementations

impl Clone for ReplaySnapshotCommandBuilder[src]

impl Debug for ReplaySnapshotCommandBuilder[src]

impl Default for ReplaySnapshotCommandBuilder[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> 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.