pub fn flush_command_buffers(&mut self, world: &mut World) {
        self.systems.iter().for_each(|system| {
            // safety: systems are exlcusive due to &mut self
            let system = unsafe { system.get_mut() };
            if let Some(mut cmd) = system.command_buffer_mut(world.id()) {
                cmd.write(world);
            }
        });
    }
/// Flushes the recorded command buffers for all systems.
Flushes the recorded command buffers for all systems.
Flushes the recorded command buffers for all systems .
pub fn flush_command_buffers(&mut self, world: &mut World) {
        self.systems.iter().for_each(|system| {
            // safety: systems are exlcusive due to &mut self
            let system = unsafe { system.get_mut() };
            if let Some(mut cmd) = system.command_buffer_mut(world.id()) {
                cmd.write(world);
            }
        });
    }
pub fn flush_command_buffers ( & mut self , world : & mut World ) { self . systems . iter ( ) . for_each ( | system | { // safety: systems are exlcusive due to &mut self let system = unsafe { system . get_mut ( ) } ; if let Some ( mut cmd ) = system . command_buffer_mut ( world . id ( ) ) { cmd . write ( world ) ; } } ) ; }
Flushes the recorded command buffers for all systems.
Flushes the recorded command buffers for all systems .
&mut self
world
&mut World
&mut self
world
&mut World