pub enum Equivalence {
Semantic,
Normalized,
ExactText,
NotComparable,
}Expand description
The equivalence contract used to compare expected and observed behavior.
Variants§
Semantic
Compare canonical Workshop semantics, ignoring presentation details.
Normalized
Compare a normalized representation that preserves the claimed observable behavior.
ExactText
Compare exact text only when text identity is part of the contract.
NotComparable
No comparison is claimed for this unsupported, gap, or inconclusive result.
Trait Implementations§
Source§impl Clone for Equivalence
impl Clone for Equivalence
Source§fn clone(&self) -> Equivalence
fn clone(&self) -> Equivalence
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 moreimpl Copy for Equivalence
Source§impl Debug for Equivalence
impl Debug for Equivalence
Source§impl<'de> Deserialize<'de> for Equivalence
impl<'de> Deserialize<'de> for Equivalence
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 Equivalence
Source§impl PartialEq for Equivalence
impl PartialEq for Equivalence
Source§impl Serialize for Equivalence
impl Serialize for Equivalence
impl StructuralPartialEq for Equivalence
Auto Trait Implementations§
impl Freeze for Equivalence
impl RefUnwindSafe for Equivalence
impl Send for Equivalence
impl Sync for Equivalence
impl Unpin for Equivalence
impl UnsafeUnpin for Equivalence
impl UnwindSafe for Equivalence
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