pub enum OmenaFixtureExpectationKindV0 {
Product,
Assertion,
Diagnostic,
NoDiagnostic,
Count,
CascadeOutcome,
CascadeWitness,
BoundaryState,
Unknown,
}Expand description
Known omena-fixture-v0 expectation families.
Variants§
Product
Product-surface expectation.
Assertion
Free-form assertion text.
Diagnostic
Expected diagnostic with code/range/message details in the body.
NoDiagnostic
A diagnostic code or code pattern that must not appear.
Count
Expected diagnostic count, usually <code>:<n>.
CascadeOutcome
Expected cascade winner declaration id.
CascadeWitness
Expected declaration participating in a cascade witness.
BoundaryState
Expected external-reference boundary state.
Unknown
Unknown or product-owned expectation family.
Trait Implementations§
Source§impl Clone for OmenaFixtureExpectationKindV0
impl Clone for OmenaFixtureExpectationKindV0
Source§fn clone(&self) -> OmenaFixtureExpectationKindV0
fn clone(&self) -> OmenaFixtureExpectationKindV0
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 OmenaFixtureExpectationKindV0
impl Eq for OmenaFixtureExpectationKindV0
Source§impl Hash for OmenaFixtureExpectationKindV0
impl Hash for OmenaFixtureExpectationKindV0
Source§impl Ord for OmenaFixtureExpectationKindV0
impl Ord for OmenaFixtureExpectationKindV0
Source§fn cmp(&self, other: &OmenaFixtureExpectationKindV0) -> Ordering
fn cmp(&self, other: &OmenaFixtureExpectationKindV0) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OmenaFixtureExpectationKindV0
impl PartialEq for OmenaFixtureExpectationKindV0
Source§fn eq(&self, other: &OmenaFixtureExpectationKindV0) -> bool
fn eq(&self, other: &OmenaFixtureExpectationKindV0) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for OmenaFixtureExpectationKindV0
impl PartialOrd for OmenaFixtureExpectationKindV0
impl StructuralPartialEq for OmenaFixtureExpectationKindV0
Auto Trait Implementations§
impl Freeze for OmenaFixtureExpectationKindV0
impl RefUnwindSafe for OmenaFixtureExpectationKindV0
impl Send for OmenaFixtureExpectationKindV0
impl Sync for OmenaFixtureExpectationKindV0
impl Unpin for OmenaFixtureExpectationKindV0
impl UnsafeUnpin for OmenaFixtureExpectationKindV0
impl UnwindSafe for OmenaFixtureExpectationKindV0
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