#[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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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 · 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 PartialEq for WGPURequestDeviceCallbackInfo
impl PartialEq for WGPURequestDeviceCallbackInfo
Source§fn eq(&self, other: &WGPURequestDeviceCallbackInfo) -> bool
fn eq(&self, other: &WGPURequestDeviceCallbackInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WGPURequestDeviceCallbackInfo
impl PartialOrd for WGPURequestDeviceCallbackInfo
impl Copy for WGPURequestDeviceCallbackInfo
impl Eq for WGPURequestDeviceCallbackInfo
impl StructuralPartialEq for WGPURequestDeviceCallbackInfo
Auto Trait Implementations§
impl Freeze for WGPURequestDeviceCallbackInfo
impl RefUnwindSafe for WGPURequestDeviceCallbackInfo
impl !Send for WGPURequestDeviceCallbackInfo
impl !Sync for WGPURequestDeviceCallbackInfo
impl Unpin 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