Trait shipyard::IntoWorkloadSystem
source · [−]pub trait IntoWorkloadSystem<B, R> {
fn into_workload_system(self) -> Result<WorkloadSystem, InvalidSystem>;
}
Expand description
Trait used to add systems to a workload.
Usually you don’t have to use it directly except if you want to handle the error.
To modify the system execution see SystemModificator.
Required Methods
fn into_workload_system(self) -> Result<WorkloadSystem, InvalidSystem>
fn into_workload_system(self) -> Result<WorkloadSystem, InvalidSystem>
Wraps a function in a struct containing all information required by a workload.