pub struct Seq<H, T> { /* private fields */ }
Expand description
Runs two tasks sequentially.
These two tasks are called head
and tail
in the following documentation.
Implementations
Trait Implementations
sourceimpl<'a, H, T> RunWithPool<'a> for Seq<H, T> where
H: RunWithPool<'a>,
T: RunWithPool<'a>,
impl<'a, H, T> RunWithPool<'a> for Seq<H, T> where
H: RunWithPool<'a>,
T: RunWithPool<'a>,
sourcefn run(&mut self, world: &'a World, pool: &ThreadPool)
fn run(&mut self, world: &'a World, pool: &ThreadPool)
Runs the system/group of systems. Possibly in parallel depending on how the structure is set up. Read more
sourcefn reads(&self, reads: &mut Vec<ResourceId>)
fn reads(&self, reads: &mut Vec<ResourceId>)
Accumulates the necessary read/shared resources from the systems in this group. Read more
sourcefn writes(&self, writes: &mut Vec<ResourceId>)
fn writes(&self, writes: &mut Vec<ResourceId>)
Accumulates the necessary write/exclusive resources from the systems in this group. Read more
Auto Trait Implementations
impl<H, T> RefUnwindSafe for Seq<H, T> where
H: RefUnwindSafe,
T: RefUnwindSafe,
impl<H, T> Send for Seq<H, T> where
H: Send,
T: Send,
impl<H, T> Sync for Seq<H, T> where
H: Sync,
T: Sync,
impl<H, T> Unpin for Seq<H, T> where
H: Unpin,
T: Unpin,
impl<H, T> UnwindSafe for Seq<H, T> where
H: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more