pub enum ParseStrategy {
TopDownCondensed,
IndexedCondensed,
AstarZero {
stop_at_first_goal: bool,
beam: Option<f64>,
},
}Expand description
Frontend-friendly parsing strategy without borrowed heuristic tables.
Variants§
TopDownCondensed
Parent-driven condensed intersection.
IndexedCondensed
Child-indexed condensed intersection.
AstarZero
Generic A* with the zero heuristic.
Implementations§
Source§impl ParseStrategy
impl ParseStrategy
Sourcepub fn materialization_strategy(&self) -> MaterializationStrategy<'static>
pub fn materialization_strategy(&self) -> MaterializationStrategy<'static>
Convert this owned frontend choice into the core strategy type.
Trait Implementations§
Source§impl Clone for ParseStrategy
impl Clone for ParseStrategy
Source§fn clone(&self) -> ParseStrategy
fn clone(&self) -> ParseStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ParseStrategy
Source§impl Debug for ParseStrategy
impl Debug for ParseStrategy
Source§impl PartialEq for ParseStrategy
impl PartialEq for ParseStrategy
Source§fn eq(&self, other: &ParseStrategy) -> bool
fn eq(&self, other: &ParseStrategy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParseStrategy
Auto Trait Implementations§
impl Freeze for ParseStrategy
impl RefUnwindSafe for ParseStrategy
impl Send for ParseStrategy
impl Sync for ParseStrategy
impl Unpin for ParseStrategy
impl UnsafeUnpin for ParseStrategy
impl UnwindSafe for ParseStrategy
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