pub struct StartScreencastCommandBuilder { /* private fields */ }Available on crate features
Page and Debugger and DOM and IO and Network and Runtime and experimental only.Implementations§
Source§impl StartScreencastCommandBuilder
impl StartScreencastCommandBuilder
Sourcepub fn format(&mut self, v: StartScreencastCommandFormat) -> &mut Self
pub fn format(&mut self, v: StartScreencastCommandFormat) -> &mut Self
Image compression format.
Sourcepub fn max_height(&mut self, v: u32) -> &mut Self
pub fn max_height(&mut self, v: u32) -> &mut Self
Maximum screenshot height.
Sourcepub fn every_nth_frame(&mut self, v: u32) -> &mut Self
pub fn every_nth_frame(&mut self, v: u32) -> &mut Self
Send every n-th frame.
pub fn build(&mut self) -> Result<StartScreencastCommand, &'static str>
Trait Implementations§
Source§impl Clone for StartScreencastCommandBuilder
impl Clone for StartScreencastCommandBuilder
Source§fn clone(&self) -> StartScreencastCommandBuilder
fn clone(&self) -> StartScreencastCommandBuilder
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 moreAuto Trait Implementations§
impl Freeze for StartScreencastCommandBuilder
impl RefUnwindSafe for StartScreencastCommandBuilder
impl Send for StartScreencastCommandBuilder
impl Sync for StartScreencastCommandBuilder
impl Unpin for StartScreencastCommandBuilder
impl UnwindSafe for StartScreencastCommandBuilder
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