pub struct RuleDone {
pub state: RuleState,
pub alt: Option<RuleDoneAlt>,
pub forced: bool,
pub probe: 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.
probe: boolTrue for a pass made while a probe is open
(crate::Context::probe_open): speculative work the grammar
rewinds, never the document’s. The pass that opens the probe and
the one that closes it are included. TS: done.probe.
Trait Implementations§
impl StructuralPartialEq for RuleDone
Auto Trait Implementations§
impl !RefUnwindSafe for RuleDone
impl !UnwindSafe for RuleDone
impl Forget for RuleDone
impl Freeze for RuleDone
impl Move 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