pub struct Queue { /* private fields */ }Implementations§
Source§impl Queue
impl Queue
pub fn as_raw(&self) -> *mut WGPUQueueImpl
pub fn submit(&self, commands: &[CommandBuffer])
pub fn on_submitted_work_done( &self, callback: impl FnMut(QueueWorkDoneStatus, String) + Send + 'static, ) -> Future
pub fn write_buffer(&self, buffer: Buffer, buffer_offset: u64, data: &[c_void])
pub fn write_texture( &self, destination: &TexelCopyTextureInfo, data: &[c_void], data_layout: &TexelCopyBufferLayout, write_size: &Extent3D, )
pub fn copy_texture_for_browser( &self, source: &TexelCopyTextureInfo, destination: &TexelCopyTextureInfo, copy_size: &Extent3D, options: &CopyTextureForBrowserOptions, )
pub fn copy_external_texture_for_browser( &self, source: &ImageCopyExternalTexture, destination: &TexelCopyTextureInfo, copy_size: &Extent3D, options: &CopyTextureForBrowserOptions, )
pub fn set_label(&self, label: String)
Trait Implementations§
impl Send for Queue
impl Sync for Queue
Auto Trait Implementations§
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