pub enum Verification {
ContextCheck {
context: ContextId,
op: CmpOp,
value: ConstraintValue,
},
TableBuild {
produced_table: ProducedTable,
verification: Option<(CmpOp, ConstraintValue)>,
},
TokenFieldCheck {
field: TokenFieldId,
op: CmpOp,
value: ConstraintValue,
},
SubPattern {
location: Span,
pattern: Pattern,
},
}Variants§
Implementations§
Source§impl Verification
impl Verification
pub fn variants_number(&self) -> usize
Trait Implementations§
Source§impl Clone for Verification
impl Clone for Verification
Source§fn clone(&self) -> Verification
fn clone(&self) -> Verification
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for Verification
impl RefUnwindSafe for Verification
impl !Send for Verification
impl !Sync for Verification
impl Unpin for Verification
impl UnwindSafe for Verification
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