pub unsafe fn reset(&mut self) -> Result<()> {
        self.command_pool.reset(&self.device.logical_device)?;
        self.available_command_buffers = self.allocated_command_buffers.clone();
        Ok(())
    }
/// Reset the command pool and mark return all allocated as available for
/// use again.
///
/// Unsafe because the caller must ensure that the GPU is done with all of
/// the allocated command buffers prior to calling this function.
Reset the command pool and mark return all allocated as available for
use again.

Unsafe because the caller must ensure that the GPU is done with all of
the allocated command buffers prior to calling this function.
Reset the command pool and mark return all allocated as available for use again . Unsafe because the caller must ensure that the GPU is done with all of the allocated command buffers prior to calling this function .
pub unsafe fn reset(&mut self) -> Result<()> {
        self.command_pool.reset(&self.device.logical_device)?;
        self.available_command_buffers = self.allocated_command_buffers.clone();
        Ok(())
    }
pub unsafe fn reset ( & mut self ) -> Result < ( ) > { self . command_pool . reset ( & self . device . logical_device ) ? ; self . available_command_buffers = self . allocated_command_buffers . clone ( ) ; Ok ( ( ) ) }
Reset the command pool and mark return all allocated as available for
use again.
Reset the command pool and mark return all allocated as available for use again .
&mut self