pub struct SimplifiedGrammar {
pub expressions: Vec<Rhs>,
pub start_symbol: SymbolU32,
pub interned_strings: InternedStrings,
pub id_to_regex: Vec<FiniteStateAutomaton>,
pub id_to_suffix_automaton: Vec<SuffixAutomaton>,
}Fields§
§expressions: Vec<Rhs>§start_symbol: SymbolU32§interned_strings: InternedStrings§id_to_regex: Vec<FiniteStateAutomaton>§id_to_suffix_automaton: Vec<SuffixAutomaton>Implementations§
Trait Implementations§
Source§impl Clone for SimplifiedGrammar
impl Clone for SimplifiedGrammar
Source§fn clone(&self) -> SimplifiedGrammar
fn clone(&self) -> SimplifiedGrammar
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SimplifiedGrammar
impl Debug for SimplifiedGrammar
Source§impl Display for SimplifiedGrammar
impl Display for SimplifiedGrammar
Auto Trait Implementations§
impl Freeze for SimplifiedGrammar
impl RefUnwindSafe for SimplifiedGrammar
impl Send for SimplifiedGrammar
impl Sync for SimplifiedGrammar
impl Unpin for SimplifiedGrammar
impl UnwindSafe for SimplifiedGrammar
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