Struct cdp::emulation::SetVisibleSizeCommand [] [src]

pub struct SetVisibleSizeCommand {
    pub width: i32,
    pub height: i32,
}
Deprecated

[Experimental] Resizes the frame/viewport of the page. Note that this does not affect the frame's container (e.g. browser window). Can be used to produce screenshots of the specified size. Not supported on Android.

Command Emulation.setVisibleSize

Domain Module: cdp::emulation
Command Struct: cdp::emulation::SetVisibleSizeCommand
Response Struct: cdp::emulation::SetVisibleSizeResponse

Fields

Deprecated

Frame width (DIP).

Deprecated

Frame height (DIP).

Trait Implementations

impl Clone for SetVisibleSizeCommand
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for SetVisibleSizeCommand
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for SetVisibleSizeCommand
[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 CdpCommand for SetVisibleSizeCommand
[src]

COMMAND_NAME: &'static str = "Emulation.setVisibleSize"

impl SerializeCdpCommand for SetVisibleSizeCommand
[src]

[src]

[src]

impl<'de> DeserializeCdpCommand<'de> for SetVisibleSizeCommand
[src]

[src]

impl<'b> HasCdpResponse<'b> for SetVisibleSizeCommand
[src]