#[repr(C)]pub struct WGPURequestDeviceCallbackInfo {
pub nextInChain: *mut WGPUChainedStruct,
pub mode: c_int,
pub callback: WGPURequestDeviceCallback,
pub userdata1: *mut c_void,
pub userdata2: *mut c_void,
}Fields§
§nextInChain: *mut WGPUChainedStruct§mode: c_int§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 copy 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 moreimpl Copy 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