pub struct Module<A: Alphabet> {
pub token: A,
pub params: Parameters,
}Expand description
A module is a Single Instance of a Grammar type with all included parameters.
Fields§
§token: A§params: ParametersImplementations§
Trait Implementations§
impl<A: Alphabet> StructuralPartialEq for Module<A>
Auto Trait Implementations§
impl<A> Freeze for Module<A>where
A: Freeze,
impl<A> RefUnwindSafe for Module<A>where
A: RefUnwindSafe,
impl<A> Send for Module<A>where
A: Send,
impl<A> Sync for Module<A>where
A: Sync,
impl<A> Unpin for Module<A>where
A: Unpin,
impl<A> UnwindSafe for Module<A>where
A: 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