pub struct SystemDescriptor {
pub id: TypeId,
pub schedule: Schedule,
pub spawner: Box<dyn FnOnce(&App, usize) -> Vec<SystemFactory> + Send>,
/* private fields */
}Expand description
Descriptor for a registered system
Fields§
§id: TypeId§schedule: Schedule§spawner: Box<dyn FnOnce(&App, usize) -> Vec<SystemFactory> + Send>Auto Trait Implementations§
impl Freeze for SystemDescriptor
impl !RefUnwindSafe for SystemDescriptor
impl Send for SystemDescriptor
impl !Sync for SystemDescriptor
impl Unpin for SystemDescriptor
impl !UnwindSafe for SystemDescriptor
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more