pub struct RuleDef {
pub name: String,
pub combinator: Combinator,
}Expand description
A parser rule definition
Fields§
§name: String§combinator: CombinatorTrait Implementations§
Auto Trait Implementations§
impl Freeze for RuleDef
impl RefUnwindSafe for RuleDef
impl Send for RuleDef
impl Sync for RuleDef
impl Unpin for RuleDef
impl UnsafeUnpin for RuleDef
impl UnwindSafe for RuleDef
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