pub struct Schedule { /* private fields */ }
Implementations§
Source§impl Schedule
impl Schedule
pub fn new() -> Self
pub fn with_system<Marker, S>(self, system: S) -> Selfwhere
S: IntoSystem<Marker> + 'static,
Marker: 'static,
pub fn add_system<Marker, S>(&mut self, system: S)where
S: IntoSystem<Marker> + 'static,
Marker: 'static,
pub fn run(&mut self, world: &mut World)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Schedule
impl !RefUnwindSafe for Schedule
impl !Send for Schedule
impl !Sync for Schedule
impl Unpin for Schedule
impl !UnwindSafe for Schedule
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