pub struct Rule<'g> { /* private fields */ }Expand description
A Rule is a handle to a rule inside of a Grammar.
Implementations§
Trait Implementations§
impl<'g> Copy for Rule<'g>
impl<'g> Eq for Rule<'g>
Auto Trait Implementations§
impl<'g> Freeze for Rule<'g>
impl<'g> RefUnwindSafe for Rule<'g>
impl<'g> Send for Rule<'g>
impl<'g> Sync for Rule<'g>
impl<'g> Unpin for Rule<'g>
impl<'g> UnwindSafe for Rule<'g>
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