pub enum Outcome {
Matched {
differing: usize,
},
Written(PathBuf),
Skipped(String),
}Expand description
What a snapshot check did.
Variants§
Matched
The screenshot matches the baseline (differing pixels within the tolerance).
Written(PathBuf)
The baseline was written (update mode).
Skipped(String)
Not compared, and why (another adapter, or no GPU renderer).
Implementations§
Trait Implementations§
impl Eq for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Forget for Outcome
impl Freeze for Outcome
impl Move for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
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