pub struct ScreenshotRequestedEventParamsBuilder { /* private fields */ }Expand description
Builder for ScreenshotRequestedEventParams.
Implementations§
Source§impl ScreenshotRequestedEventParamsBuilder
impl ScreenshotRequestedEventParamsBuilder
Sourcepub fn viewport(&mut self, value: Viewport) -> &mut Self
pub fn viewport(&mut self, value: Viewport) -> &mut Self
Viewport to capture, in device independent pixels (dip).
Sourcepub fn build(
&self,
) -> Result<ScreenshotRequestedEventParams, ScreenshotRequestedEventParamsBuilderError>
pub fn build( &self, ) -> Result<ScreenshotRequestedEventParams, ScreenshotRequestedEventParamsBuilderError>
Trait Implementations§
Source§impl Clone for ScreenshotRequestedEventParamsBuilder
impl Clone for ScreenshotRequestedEventParamsBuilder
Source§fn clone(&self) -> ScreenshotRequestedEventParamsBuilder
fn clone(&self) -> ScreenshotRequestedEventParamsBuilder
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 ScreenshotRequestedEventParamsBuilder
impl RefUnwindSafe for ScreenshotRequestedEventParamsBuilder
impl Send for ScreenshotRequestedEventParamsBuilder
impl Sync for ScreenshotRequestedEventParamsBuilder
impl Unpin for ScreenshotRequestedEventParamsBuilder
impl UnsafeUnpin for ScreenshotRequestedEventParamsBuilder
impl UnwindSafe for ScreenshotRequestedEventParamsBuilder
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