pub struct RunOptions {
pub url: String,
pub devices: Vec<Device>,
pub out_dir: PathBuf,
pub determinism: Determinism,
pub stability: Stability,
pub browser: PathBuf,
pub fail_fast: bool,
}Expand description
Everything a run needs.
Fields§
§url: StringPage to capture.
devices: Vec<Device>Devices to capture it on.
out_dir: PathBufWhere PNGs are written.
determinism: Determinism§stability: Stability§browser: PathBufBrowser binary.
fail_fast: boolStop at the first failure rather than completing the matrix.
Trait Implementations§
Source§impl Clone for RunOptions
impl Clone for RunOptions
Source§fn clone(&self) -> RunOptions
fn clone(&self) -> RunOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RunOptions
impl RefUnwindSafe for RunOptions
impl Send for RunOptions
impl Sync for RunOptions
impl Unpin for RunOptions
impl UnsafeUnpin for RunOptions
impl UnwindSafe for RunOptions
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