pub struct Table {
pub source: &'static str,
pub nodes: &'static [Node],
pub rules: &'static [Rule],
}Expand description
A target’s lowering rules, as an automaton over their patterns.
Fields§
§source: &'static strThe rule file this was built from, so that anything said about a rule can name a file somebody can open.
nodes: &'static [Node]The trie. Node zero is the root.
rules: &'static [Rule]The rules, in the order the file writes them.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Table
impl RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl UnsafeUnpin for Table
impl UnwindSafe for Table
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