pub struct BacktrackingWarning {
pub rule_name: String,
pub description: String,
pub severity: BacktrackingSeverity,
}Expand description
Warning about a backtracking issue in a grammar
Fields§
§rule_name: StringName of the rule containing the problematic choice
description: StringHuman-readable description of the issue
severity: BacktrackingSeveritySeverity of the issue
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BacktrackingWarning
impl RefUnwindSafe for BacktrackingWarning
impl Send for BacktrackingWarning
impl Sync for BacktrackingWarning
impl Unpin for BacktrackingWarning
impl UnsafeUnpin for BacktrackingWarning
impl UnwindSafe for BacktrackingWarning
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