pub enum LineAction {
Continue(Option<NextState>),
Next(Option<NextState>),
}Expand description
Action to take regarding the current line of input.
Variants§
Continue(Option<NextState>)
Continue processing subsequent rules in the current state for the same line.
Next(Option<NextState>)
Move to the next line of input, optionally transitioning to a new state.
Trait Implementations§
Source§impl Clone for LineAction
impl Clone for LineAction
Source§fn clone(&self) -> LineAction
fn clone(&self) -> LineAction
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 LineAction
impl Debug for LineAction
Source§impl Default for LineAction
impl Default for LineAction
Source§fn default() -> LineAction
fn default() -> LineAction
Returns the “default value” for a type. Read more
Source§impl PartialEq for LineAction
impl PartialEq for LineAction
impl StructuralPartialEq for LineAction
Auto Trait Implementations§
impl Freeze for LineAction
impl RefUnwindSafe for LineAction
impl Send for LineAction
impl Sync for LineAction
impl Unpin for LineAction
impl UnwindSafe for LineAction
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