pub struct RuleDone {
pub state: RuleState,
pub alt: Option<RuleDoneAlt>,
pub forced: bool,
}Fields§
§state: RuleStateRule state before the completed pass.
alt: Option<RuleDoneAlt>None only when that state declared no alternatives.
forced: boolTrue only for a close synthesized by recovery.
Trait Implementations§
impl StructuralPartialEq for RuleDone
Auto Trait Implementations§
impl !RefUnwindSafe for RuleDone
impl !UnwindSafe for RuleDone
impl Freeze for RuleDone
impl Send for RuleDone
impl Sync for RuleDone
impl Unpin for RuleDone
impl UnsafeUnpin for RuleDone
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