pub struct Snapshots {
pub dir: PathBuf,
pub tolerance: Option<Tolerance>,
pub update: bool,
}Expand description
Where baselines live and how they are checked.
Fields§
§dir: PathBufThe baseline folder.
tolerance: Option<Tolerance>None: the baseline’s recorded tolerance, or exact.
update: boolWrite baselines instead of comparing.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Snapshots
Auto Trait Implementations§
impl Forget for Snapshots
impl Freeze for Snapshots
impl Move for Snapshots
impl RefUnwindSafe for Snapshots
impl Send for Snapshots
impl Sync for Snapshots
impl Unpin for Snapshots
impl UnsafeUnpin for Snapshots
impl UnwindSafe for Snapshots
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