#[repr(C)]pub struct WGPUQueueWorkDoneCallbackInfo {
pub nextInChain: *mut WGPUChainedStruct,
pub mode: WGPUCallbackMode,
pub callback: WGPUQueueWorkDoneCallback,
pub userdata1: *mut c_void,
pub userdata2: *mut c_void,
}Fields§
§nextInChain: *mut WGPUChainedStruct§mode: WGPUCallbackMode§callback: WGPUQueueWorkDoneCallback§userdata1: *mut c_void§userdata2: *mut c_voidTrait Implementations§
Source§impl Clone for WGPUQueueWorkDoneCallbackInfo
impl Clone for WGPUQueueWorkDoneCallbackInfo
Source§fn clone(&self) -> WGPUQueueWorkDoneCallbackInfo
fn clone(&self) -> WGPUQueueWorkDoneCallbackInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WGPUQueueWorkDoneCallbackInfo
impl Eq for WGPUQueueWorkDoneCallbackInfo
Source§impl Hash for WGPUQueueWorkDoneCallbackInfo
impl Hash for WGPUQueueWorkDoneCallbackInfo
Source§impl Ord for WGPUQueueWorkDoneCallbackInfo
impl Ord for WGPUQueueWorkDoneCallbackInfo
Source§fn cmp(&self, other: &WGPUQueueWorkDoneCallbackInfo) -> Ordering
fn cmp(&self, other: &WGPUQueueWorkDoneCallbackInfo) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for WGPUQueueWorkDoneCallbackInfo
impl PartialOrd for WGPUQueueWorkDoneCallbackInfo
impl StructuralPartialEq for WGPUQueueWorkDoneCallbackInfo
Auto Trait Implementations§
impl !Send for WGPUQueueWorkDoneCallbackInfo
impl !Sync for WGPUQueueWorkDoneCallbackInfo
impl Freeze for WGPUQueueWorkDoneCallbackInfo
impl RefUnwindSafe for WGPUQueueWorkDoneCallbackInfo
impl Unpin for WGPUQueueWorkDoneCallbackInfo
impl UnsafeUnpin for WGPUQueueWorkDoneCallbackInfo
impl UnwindSafe for WGPUQueueWorkDoneCallbackInfo
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