#[repr(C)]pub struct WGPURequestDeviceCallbackInfo {
pub nextInChain: *mut WGPUChainedStruct,
pub mode: WGPUCallbackMode,
pub callback: WGPURequestDeviceCallback,
pub userdata1: *mut c_void,
pub userdata2: *mut c_void,
}Fields§
§nextInChain: *mut WGPUChainedStruct§mode: WGPUCallbackMode§callback: WGPURequestDeviceCallback§userdata1: *mut c_void§userdata2: *mut c_voidTrait Implementations§
Source§impl Clone for WGPURequestDeviceCallbackInfo
impl Clone for WGPURequestDeviceCallbackInfo
Source§fn clone(&self) -> WGPURequestDeviceCallbackInfo
fn clone(&self) -> WGPURequestDeviceCallbackInfo
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 WGPURequestDeviceCallbackInfo
impl Eq for WGPURequestDeviceCallbackInfo
Source§impl Hash for WGPURequestDeviceCallbackInfo
impl Hash for WGPURequestDeviceCallbackInfo
Source§impl Ord for WGPURequestDeviceCallbackInfo
impl Ord for WGPURequestDeviceCallbackInfo
Source§fn cmp(&self, other: &WGPURequestDeviceCallbackInfo) -> Ordering
fn cmp(&self, other: &WGPURequestDeviceCallbackInfo) -> 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 WGPURequestDeviceCallbackInfo
impl PartialOrd for WGPURequestDeviceCallbackInfo
impl StructuralPartialEq for WGPURequestDeviceCallbackInfo
Auto Trait Implementations§
impl !Send for WGPURequestDeviceCallbackInfo
impl !Sync for WGPURequestDeviceCallbackInfo
impl Freeze for WGPURequestDeviceCallbackInfo
impl RefUnwindSafe for WGPURequestDeviceCallbackInfo
impl Unpin for WGPURequestDeviceCallbackInfo
impl UnsafeUnpin for WGPURequestDeviceCallbackInfo
impl UnwindSafe for WGPURequestDeviceCallbackInfo
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