pub struct Forest { /* private fields */ }Implementations§
Source§impl Forest
impl Forest
pub fn memory_use(&self) -> usize
pub fn new<const S: usize>(grammar: &Grammar<S>) -> Self
pub fn leaf(&mut self, terminal: Symbol, _x: usize, values: u32) -> NodeHandle
pub fn push_summand(&mut self, item: CompletedItem) -> NodeHandle
pub fn evaluator<T: Eval>(&mut self, eval: T) -> Evaluator<'_, T>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Forest
impl RefUnwindSafe for Forest
impl Send for Forest
impl Sync for Forest
impl Unpin for Forest
impl UnwindSafe for Forest
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