Struct cdp::layer_tree::ReplaySnapshotCommand [] [src]

pub struct ReplaySnapshotCommand<'a> {
    pub snapshot_id: SnapshotId<'a>,
    pub from_step: Option<i32>,
    pub to_step: Option<i32>,
    pub scale: Option<f64>,
}

[Experimental] Replays the layer snapshot and returns the resulting bitmap.

Command LayerTree.replaySnapshot

Domain Module: cdp::layer_tree
Command Struct: cdp::layer_tree::ReplaySnapshotCommand
Response Struct: cdp::layer_tree::ReplaySnapshotResponse

Fields

The id of the layer snapshot.

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

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

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

Trait Implementations

impl<'a> Clone for ReplaySnapshotCommand<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for ReplaySnapshotCommand<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for ReplaySnapshotCommand<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'a> CdpCommand for ReplaySnapshotCommand<'a>
[src]

COMMAND_NAME: &'static str = "LayerTree.replaySnapshot"

impl<'a> SerializeCdpCommand for ReplaySnapshotCommand<'a>
[src]

[src]

[src]

impl<'de, 'a> DeserializeCdpCommand<'de> for ReplaySnapshotCommand<'a>
[src]

[src]

impl<'b, 'a> HasCdpResponse<'b> for ReplaySnapshotCommand<'a>
[src]