Struct cdp::layer_tree::ProfileSnapshotCommand [] [src]

pub struct ProfileSnapshotCommand<'a> {
    pub snapshot_id: SnapshotId<'a>,
    pub min_repeat_count: Option<i32>,
    pub min_duration: Option<f64>,
    pub clip_rect: Option<Rect>,
}

[Experimental]

Command LayerTree.profileSnapshot

Domain Module: cdp::layer_tree
Command Struct: cdp::layer_tree::ProfileSnapshotCommand
Response Struct: cdp::layer_tree::ProfileSnapshotResponse

Fields

The id of the layer snapshot.

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

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

The clip rectangle to apply when replaying the snapshot.

Trait Implementations

impl<'a> Clone for ProfileSnapshotCommand<'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 ProfileSnapshotCommand<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for ProfileSnapshotCommand<'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 ProfileSnapshotCommand<'a>
[src]

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

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

[src]

[src]

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

[src]

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