pub struct SetVisibleSizeCommand { /* private fields */ }👎Deprecated
Available on crate features
Emulation and DOM and Page and Runtime and experimental only.Expand description
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§
Trait Implementations§
Source§impl Clone for SetVisibleSizeCommand
impl Clone for SetVisibleSizeCommand
Source§fn clone(&self) -> SetVisibleSizeCommand
fn clone(&self) -> SetVisibleSizeCommand
Returns a duplicate 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 Command for SetVisibleSizeCommand
impl Command for SetVisibleSizeCommand
Source§impl Debug for SetVisibleSizeCommand
impl Debug for SetVisibleSizeCommand
Source§impl<'de> Deserialize<'de> for SetVisibleSizeCommand
impl<'de> Deserialize<'de> for SetVisibleSizeCommand
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
Auto Trait Implementations§
impl Freeze for SetVisibleSizeCommand
impl RefUnwindSafe for SetVisibleSizeCommand
impl Send for SetVisibleSizeCommand
impl Sync for SetVisibleSizeCommand
impl Unpin for SetVisibleSizeCommand
impl UnwindSafe for SetVisibleSizeCommand
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more