pub trait DynQueue: DynResource {
// Required methods
unsafe fn submit(
&self,
command_buffers: &[&(dyn DynCommandBuffer + 'static)],
surface_textures: &[&(dyn DynSurfaceTexture + 'static)],
signal_fence: (&mut (dyn DynFence + 'static), u64),
) -> Result<(), DeviceError>;
unsafe fn present(
&self,
surface: &(dyn DynSurface + 'static),
texture: Box<dyn DynSurfaceTexture>,
) -> Result<(), SurfaceError>;
unsafe fn get_timestamp_period(&self) -> f32;
}