Struct chrome_remote_interface_model::emulation::SetVisibleSizeCommand[][src]

pub struct SetVisibleSizeCommand { /* fields omitted */ }
👎 Deprecated

Resizes the frame/viewport of the page. Note that this does not affect the frame's container (e.g. browser window). Can be used to produce screenshots of the specified size. Not supported on Android.

Implementations

impl SetVisibleSizeCommand[src]

pub fn new(width: u32, height: u32) -> Self[src]

👎 Deprecated

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

👎 Deprecated

Frame width (DIP).

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

👎 Deprecated

Frame height (DIP).

Trait Implementations

impl Clone for SetVisibleSizeCommand[src]

impl Command for SetVisibleSizeCommand[src]

type Return = SetVisibleSizeReturn

Return type.

impl Debug for SetVisibleSizeCommand[src]

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

impl Serialize for SetVisibleSizeCommand[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.