pub enum StructuralRule {
NestedUnboundedQuantifier(String),
AdjacentBroadUnboundedQuantifiers(String),
UnreachableTerminatorScan(String),
LiteralAbsorbedByQuantifiedClass(String),
AmbiguousOptionalTail(String),
NestingDepthExceeded,
}Expand description
The five structural rules plus the nesting-depth rejection.
Variants§
NestedUnboundedQuantifier(String)
AdjacentBroadUnboundedQuantifiers(String)
UnreachableTerminatorScan(String)
LiteralAbsorbedByQuantifiedClass(String)
AmbiguousOptionalTail(String)
NestingDepthExceeded
Implementations§
Source§impl StructuralRule
impl StructuralRule
Sourcepub fn reason_class(&self) -> &'static str
pub fn reason_class(&self) -> &'static str
The stable reason class token per structural rule.
Trait Implementations§
Source§impl Clone for StructuralRule
impl Clone for StructuralRule
Source§impl Debug for StructuralRule
impl Debug for StructuralRule
impl Eq for StructuralRule
Source§impl PartialEq for StructuralRule
impl PartialEq for StructuralRule
impl StructuralPartialEq for StructuralRule
Auto Trait Implementations§
impl Freeze for StructuralRule
impl RefUnwindSafe for StructuralRule
impl Send for StructuralRule
impl Sync for StructuralRule
impl Unpin for StructuralRule
impl UnsafeUnpin for StructuralRule
impl UnwindSafe for StructuralRule
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.