pub enum DynGramMatch {
Literal(Vec<u8>),
Speech(u16),
SpeechList(Vec<u16>),
Prod(u32),
TokType(u32),
Star,
}Expand description
What one thing in a rule matches.
Variants§
Literal(Vec<u8>)
A word, as it is written.
Speech(u16)
Any word the dictionary has for a property.
SpeechList(Vec<u16>)
Any word the dictionary has for one of several properties.
Prod(u32)
A phrase of another production: its object.
TokType(u32)
A token of a kind: its enumerator.
Star
Whatever is left of the input.
Trait Implementations§
Source§impl Clone for DynGramMatch
impl Clone for DynGramMatch
Source§impl Debug for DynGramMatch
impl Debug for DynGramMatch
impl Eq for DynGramMatch
Source§impl PartialEq for DynGramMatch
impl PartialEq for DynGramMatch
impl StructuralPartialEq for DynGramMatch
Auto Trait Implementations§
impl Forget for DynGramMatch
impl Freeze for DynGramMatch
impl Move for DynGramMatch
impl RefUnwindSafe for DynGramMatch
impl Send for DynGramMatchwhere
RawVecInner: Send,
impl Sync for DynGramMatchwhere
RawVecInner: Sync,
impl Unpin for DynGramMatch
impl UnsafeUnpin for DynGramMatch
impl UnwindSafe for DynGramMatchwhere
RawVecInner: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.