Struct cdp::page::LayoutViewport [] [src]

pub struct LayoutViewport {
    pub page_x: i32,
    pub page_y: i32,
    pub client_width: i32,
    pub client_height: i32,
}

[Experimental] Layout viewport position and dimensions.

Fields

Horizontal offset relative to the document (CSS pixels).

Vertical offset relative to the document (CSS pixels).

Width (CSS pixels), excludes scrollbar if present.

Height (CSS pixels), excludes scrollbar if present.

Trait Implementations

impl Clone for LayoutViewport
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for LayoutViewport
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for LayoutViewport
[src]

[src]

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

[src]

This method tests for !=.