Struct runtasktic::fst::TaskFst
source · pub struct TaskFst { /* private fields */ }
Implementations§
source§impl TaskFst
impl TaskFst
pub fn new() -> TaskFst
pub fn len(&self) -> usize
pub fn add_state<S: Into<String>>(&mut self, label: S) -> usize
pub fn add_start_state(&mut self, id: usize)
pub fn add_arc(&mut self, from: usize, to: usize)
pub fn get_state_from_id(&self, id: usize) -> &TaskFstState
pub fn is_cyclic(&self) -> bool
pub fn reachable_states(&self) -> Vec<bool>
pub fn iter(&self) -> TaskIter
Trait Implementations§
source§impl PartialEq for TaskFst
impl PartialEq for TaskFst
impl StructuralPartialEq for TaskFst
Auto Trait Implementations§
impl RefUnwindSafe for TaskFst
impl Send for TaskFst
impl Sync for TaskFst
impl Unpin for TaskFst
impl UnwindSafe for TaskFst
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