pub struct BatchNode { /* private fields */ }Implementations§
Source§impl BatchNode
impl BatchNode
pub fn new<F>(name: impl Into<String>, func: F) -> Self
pub fn add_successor( &mut self, action: impl Into<String>, node: BatchNode, ) -> &mut Self
pub fn next(&mut self, node: BatchNode) -> &mut Self
pub fn set_params(&mut self, params: Params)
pub fn get_params(&self) -> &Params
pub fn get_successor(&self, action: &str) -> Option<&BatchNode>
pub fn has_successors(&self) -> bool
pub fn run(&self, shared: &mut (dyn Any + Send)) -> Result<()>
pub fn run_recursive(&self, shared: &mut (dyn Any + Send)) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for BatchNode
impl !UnwindSafe for BatchNode
impl Freeze for BatchNode
impl Send for BatchNode
impl Sync for BatchNode
impl Unpin for BatchNode
impl UnsafeUnpin for BatchNode
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