Expand description
The body of a rule. The body can be just a Sequence (of symbols) or an
Or. The latter is equivalent to a set of rules with the same head, each
with a sequence as the body.
When a rule is applied, a NonTerminal Symbol is replaced with the
RuleBody. If the body is an Or, one of the sequences of the Or
has to be chosen.
Variants
Or(Or)
Sequence(Sequence)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RuleBody
impl Send for RuleBody
impl Sync for RuleBody
impl Unpin for RuleBody
impl UnwindSafe for RuleBody
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more