pub struct StartScreencastCommand { /* private fields */ }Available on crate features
Page and Debugger and DOM and IO and Network and Runtime and experimental only.Expand description
Starts sending each frame using the screencastFrame event.
Implementations§
Source§impl StartScreencastCommand
impl StartScreencastCommand
pub fn builder() -> StartScreencastCommandBuilder
Sourcepub fn format(&self) -> Option<&StartScreencastCommandFormat>
pub fn format(&self) -> Option<&StartScreencastCommandFormat>
Image compression format.
Sourcepub fn max_height(&self) -> Option<&u32>
pub fn max_height(&self) -> Option<&u32>
Maximum screenshot height.
Sourcepub fn every_nth_frame(&self) -> Option<&u32>
pub fn every_nth_frame(&self) -> Option<&u32>
Send every n-th frame.
Trait Implementations§
Source§impl Clone for StartScreencastCommand
impl Clone for StartScreencastCommand
Source§fn clone(&self) -> StartScreencastCommand
fn clone(&self) -> StartScreencastCommand
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 StartScreencastCommand
impl Command for StartScreencastCommand
Source§impl Debug for StartScreencastCommand
impl Debug for StartScreencastCommand
Source§impl<'de> Deserialize<'de> for StartScreencastCommand
impl<'de> Deserialize<'de> for StartScreencastCommand
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 StartScreencastCommand
impl RefUnwindSafe for StartScreencastCommand
impl Send for StartScreencastCommand
impl Sync for StartScreencastCommand
impl Unpin for StartScreencastCommand
impl UnwindSafe for StartScreencastCommand
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