Struct cdp::page::GetLayoutMetricsResponse [] [src]

pub struct GetLayoutMetricsResponse {
    pub layout_viewport: LayoutViewport,
    pub visual_viewport: VisualViewport,
    pub content_size: Rect,
}

[Experimental] Returns metrics relating to the layouting of the page, such as viewport bounds/scale.

Command Page.getLayoutMetrics

Domain Module: cdp::page
Command Struct: cdp::page::GetLayoutMetricsCommand
Response Struct: cdp::page::GetLayoutMetricsResponse

Fields

Metrics relating to the layout viewport.

Metrics relating to the visual viewport.

Size of scrollable area.

Trait Implementations

impl Clone for GetLayoutMetricsResponse
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for GetLayoutMetricsResponse
[src]

[src]

Formats the value using the given formatter.

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

COMMAND_NAME: &'static str = "Page.getLayoutMetrics"

impl<'a> HasCdpCommand<'a> for GetLayoutMetricsResponse
[src]