pub(crate) struct ScreenshotArgs<'a> {
pub(crate) path: Option<&'a Path>,
pub(crate) timeout: Option<f64>,
pub(crate) type: Option<ScreenshotType>,
pub(crate) quality: Option<i64>,
pub(crate) omit_background: Option<bool>,
}Fields§
§path: Option<&'a Path>§timeout: Option<f64>§type: Option<ScreenshotType>§quality: Option<i64>§omit_background: Option<bool>Trait Implementations§
Source§impl<'a> Default for ScreenshotArgs<'a>
impl<'a> Default for ScreenshotArgs<'a>
Source§fn default() -> ScreenshotArgs<'a>
fn default() -> ScreenshotArgs<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for ScreenshotArgs<'a>
impl<'a> RefUnwindSafe for ScreenshotArgs<'a>
impl<'a> Send for ScreenshotArgs<'a>
impl<'a> Sync for ScreenshotArgs<'a>
impl<'a> Unpin for ScreenshotArgs<'a>
impl<'a> UnwindSafe for ScreenshotArgs<'a>
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