Struct chromiumoxide_cdp::cdp::browser_protocol::page::LayoutViewport [−][src]
pub struct LayoutViewport { pub page_x: i64, pub page_y: i64, pub client_width: i64, pub client_height: i64, }
Expand description
Layout viewport position and dimensions. LayoutViewport
Fields
page_x: i64
Horizontal offset relative to the document (CSS pixels).
page_y: i64
Vertical offset relative to the document (CSS pixels).
client_width: i64
Width (CSS pixels), excludes scrollbar if present.
client_height: i64
Height (CSS pixels), excludes scrollbar if present.
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for LayoutViewport
impl Send for LayoutViewport
impl Sync for LayoutViewport
impl Unpin for LayoutViewport
impl UnwindSafe for LayoutViewport
Blanket Implementations
Mutably borrows from an owned value. Read more