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§
source§impl<'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>,
source§fn 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
source§fn 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.
source§fn 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.
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§
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