Struct headless_chrome::protocol::cdp::Page::LayoutViewport
source · pub struct LayoutViewport {
pub page_x: JsUInt,
pub page_y: JsUInt,
pub client_width: JsUInt,
pub client_height: JsUInt,
}Fields§
§page_x: JsUInt§page_y: JsUInt§client_width: JsUInt§client_height: JsUIntTrait Implementations§
source§impl Clone for LayoutViewport
impl Clone for LayoutViewport
source§fn clone(&self) -> LayoutViewport
fn clone(&self) -> LayoutViewport
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for LayoutViewport
impl Debug for LayoutViewport
source§impl<'de> Deserialize<'de> for LayoutViewport
impl<'de> Deserialize<'de> for LayoutViewport
source§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