Struct constellation::SystemCommandBuffer
[−]
[src]
pub struct SystemCommandBuffer<S: Send + Sync + 'static = ()> { /* fields omitted */ }
Records system executions, to be run later within a World
.
Methods
impl SystemCommandBuffer<()>
[src]
fn default() -> SystemCommandBuffer<()>
Constructs a new 'SystemCommandBuffer' with an empty state.
impl<S: Send + Sync + 'static> SystemCommandBuffer<S>
[src]
fn new() -> SystemCommandBuffer<S>
Constructs a new SystemCommandBuffer
.
fn queue_systems<'a, F, R>(&mut self, f: F) -> R where
F: FnOnce(&mut SystemScope<S>) -> R + 'a,
F: FnOnce(&mut SystemScope<S>) -> R + 'a,
Queues a sequence of systems into the command buffer. Each system may potentially be run concurrently.