pub enum BacktrackStep {
Choice(Ref),
Failed,
}Expand description
Result of advancing a Backtracker: the next alternative, or failure.
Variants§
Choice(Ref)
The next untried alternative to commit to.
Failed
No alternatives remain; the search has exhausted this point.
Trait Implementations§
Source§impl Clone for BacktrackStep
impl Clone for BacktrackStep
Source§fn clone(&self) -> BacktrackStep
fn clone(&self) -> BacktrackStep
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 moreSource§impl Debug for BacktrackStep
impl Debug for BacktrackStep
impl Eq for BacktrackStep
Source§impl PartialEq for BacktrackStep
impl PartialEq for BacktrackStep
Source§fn eq(&self, other: &BacktrackStep) -> bool
fn eq(&self, other: &BacktrackStep) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BacktrackStep
Auto Trait Implementations§
impl Freeze for BacktrackStep
impl RefUnwindSafe for BacktrackStep
impl Send for BacktrackStep
impl Sync for BacktrackStep
impl Unpin for BacktrackStep
impl UnsafeUnpin for BacktrackStep
impl UnwindSafe for BacktrackStep
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