pub struct GrammarProc<PN: Eq + Hash + Copy + Debug + Display, TN: PartialEq + Copy + Display> { /* private fields */ }Expand description
A procedure definition in a grammar.
GrammarProcs shouldn’t be created independently from a Grammar. If you want to create a Grammar
dynamically instead of using the crate::grammar macro, use crate::parse::GrammarBuilder instead.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<PN, TN> Freeze for GrammarProc<PN, TN>where
    PN: Freeze,
impl<PN, TN> RefUnwindSafe for GrammarProc<PN, TN>where
    PN: RefUnwindSafe,
    TN: RefUnwindSafe,
impl<PN, TN> Send for GrammarProc<PN, TN>
impl<PN, TN> Sync for GrammarProc<PN, TN>
impl<PN, TN> Unpin for GrammarProc<PN, TN>
impl<PN, TN> UnwindSafe for GrammarProc<PN, TN>where
    PN: UnwindSafe,
    TN: UnwindSafe,
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