pub struct Queue { /* private fields */ }
Trait Implementations§
Source§impl Queue<Api> for Queue
impl Queue<Api> for Queue
Source§unsafe fn submit(
&mut self,
command_buffers: &[&CommandBuffer],
signal_fence: Option<(&mut Fence, FenceValue)>,
) -> Result<(), DeviceError>
unsafe fn submit( &mut self, command_buffers: &[&CommandBuffer], signal_fence: Option<(&mut Fence, FenceValue)>, ) -> Result<(), DeviceError>
Submits the command buffers for execution on GPU. Read more
unsafe fn present( &mut self, surface: &mut Surface, texture: SurfaceTexture, ) -> Result<(), SurfaceError>
unsafe fn get_timestamp_period(&self) -> f32
Auto Trait Implementations§
impl Freeze for Queue
impl !RefUnwindSafe for Queue
impl Send for Queue
impl Sync for Queue
impl Unpin for Queue
impl !UnwindSafe for Queue
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