pub struct ScreenshotOptions {
pub omit_background: bool,
}Expand description
Screenshot options for BrowserPage::screenshot_with.
Fields§
§omit_background: boolCapture with a transparent background. Pair with
BrowserPage::set_transparent_background for a fully transparent page.
Trait Implementations§
Source§impl Clone for ScreenshotOptions
impl Clone for ScreenshotOptions
impl Copy for ScreenshotOptions
Source§impl Debug for ScreenshotOptions
impl Debug for ScreenshotOptions
Source§impl Default for ScreenshotOptions
impl Default for ScreenshotOptions
impl Eq for ScreenshotOptions
Source§impl PartialEq for ScreenshotOptions
impl PartialEq for ScreenshotOptions
impl StructuralPartialEq for ScreenshotOptions
Auto Trait Implementations§
impl Freeze for ScreenshotOptions
impl RefUnwindSafe for ScreenshotOptions
impl Send for ScreenshotOptions
impl Sync for ScreenshotOptions
impl Unpin for ScreenshotOptions
impl UnsafeUnpin for ScreenshotOptions
impl UnwindSafe for ScreenshotOptions
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