pub struct Clause {
pub verdict: Conformance,
pub when: Condition,
}Expand description
One branch of a conformance expression: a verdict and when it applies.
Fields§
§verdict: ConformanceWhat the element is when this clause is selected.
when: ConditionWhen it is selected.
Implementations§
Trait Implementations§
impl Copy for Clause
impl Eq for Clause
impl StructuralPartialEq for Clause
Auto Trait Implementations§
impl Forget for Clause
impl Freeze for Clause
impl Move for Clause
impl RefUnwindSafe for Clause
impl Send for Clause
impl Sync for Clause
impl Unpin for Clause
impl UnsafeUnpin for Clause
impl UnwindSafe for Clause
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