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
page_x: i32
Horizontal offset relative to the document (CSS pixels).
page_y: i32
Vertical offset relative to the document (CSS pixels).
client_width: i32
Width (CSS pixels), excludes scrollbar if present.
client_height: i32
Height (CSS pixels), excludes scrollbar if present.
Trait Implementations
impl Clone for LayoutViewport
[src]
fn clone(&self) -> LayoutViewport
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for LayoutViewport
[src]
impl PartialEq for LayoutViewport
[src]
fn eq(&self, __arg_0: &LayoutViewport) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &LayoutViewport) -> bool
[src]
This method tests for !=
.