pub struct FSMCursor { /* private fields */ }Implementations§
Source§impl FSMCursor
impl FSMCursor
pub fn new(fsm_root: &Rc<FSMLock<FSMNode>>) -> Self
pub fn reset(&mut self)
pub fn clear_inputbuf(&mut self)
pub fn search_rec( &mut self, treenode: &Rc<FSMLock<FSMNode>>, ) -> Option<Rc<FSMLock<FSMNode>>>
pub fn search_rec_internal( &mut self, treenode: &Rc<FSMLock<FSMNode>>, best_effort: bool, ) -> Option<Rc<FSMLock<FSMNode>>>
pub fn advance(&mut self, input: char) -> Option<String>
pub fn revert(&mut self)
pub fn is_done(&self) -> bool
pub fn is_in_userdefined_stage(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FSMCursor
impl !RefUnwindSafe for FSMCursor
impl !Send for FSMCursor
impl !Sync for FSMCursor
impl Unpin for FSMCursor
impl UnsafeUnpin for FSMCursor
impl !UnwindSafe for FSMCursor
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