Struct chrome_remote_interface_model::page::LayoutViewport[][src]

pub struct LayoutViewport { /* fields omitted */ }
This is supported on crate features Page and Debugger and DOM and IO and Network and Runtime only.

Layout viewport position and dimensions.

Implementations

impl LayoutViewport[src]

pub fn builder() -> LayoutViewportBuilder[src]

pub fn page_x(&self) -> u32[src]

Horizontal offset relative to the document (CSS pixels).

pub fn page_y(&self) -> u32[src]

Vertical offset relative to the document (CSS pixels).

pub fn client_width(&self) -> u32[src]

Width (CSS pixels), excludes scrollbar if present.

pub fn client_height(&self) -> u32[src]

Height (CSS pixels), excludes scrollbar if present.

Trait Implementations

impl Clone for LayoutViewport[src]

impl Debug for LayoutViewport[src]

impl<'de> Deserialize<'de> for LayoutViewport[src]

impl Serialize for LayoutViewport[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.