pub enum Verify {
Each,
None,
}Expand description
Whether a run re-confirms a region before acting on it.
This is a precondition, not a report card. “Is the region I am
about to touch present and unambiguous?” has a stable answer; “did it
survive being touched?” does not, because acting on something changes
it. To assert an outcome, name what should have changed — wait_for,
wait_gone, or a verify step on another region.
Variants§
Each
Re-confirm each region immediately before the step that touches it, and act on where it is found. Keeps coordinates correct as the UI reflows mid-run, at the cost of one capture per acting step.
None
Act on the coordinates already known. Faster, and appropriate when
the run asserts its own outcomes with wait_for / verify.
Trait Implementations§
impl Copy for Verify
Source§impl<'de> Deserialize<'de> for Verify
impl<'de> Deserialize<'de> for Verify
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Verify
impl StructuralPartialEq for Verify
Auto Trait Implementations§
impl Freeze for Verify
impl RefUnwindSafe for Verify
impl Send for Verify
impl Sync for Verify
impl Unpin for Verify
impl UnsafeUnpin for Verify
impl UnwindSafe for Verify
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.