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