pub trait TaskFactory {
// Required method
fn create_task(&self, user: &TaskUser<'_>) -> Entity;
}
Expand description
Implemented by all nodes of a TaskGraph
. Has a blanket impl that should work for most
TaskComponent
s.
pub trait TaskFactory {
// Required method
fn create_task(&self, user: &TaskUser<'_>) -> Entity;
}
Implemented by all nodes of a TaskGraph
. Has a blanket impl that should work for most
TaskComponent
s.