#[repr(C)]pub struct WGPUDeviceLostCallbackInfo {
pub nextInChain: *mut WGPUChainedStruct,
pub mode: c_int,
pub callback: WGPUDeviceLostCallback,
pub userdata1: *mut c_void,
pub userdata2: *mut c_void,
}Fields§
§nextInChain: *mut WGPUChainedStruct§mode: c_int§callback: WGPUDeviceLostCallback§userdata1: *mut c_void§userdata2: *mut c_voidTrait Implementations§
Source§impl Clone for WGPUDeviceLostCallbackInfo
impl Clone for WGPUDeviceLostCallbackInfo
Source§fn clone(&self) -> WGPUDeviceLostCallbackInfo
fn clone(&self) -> WGPUDeviceLostCallbackInfo
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 moreSource§impl Debug for WGPUDeviceLostCallbackInfo
impl Debug for WGPUDeviceLostCallbackInfo
impl Copy for WGPUDeviceLostCallbackInfo
Auto Trait Implementations§
impl Freeze for WGPUDeviceLostCallbackInfo
impl RefUnwindSafe for WGPUDeviceLostCallbackInfo
impl !Send for WGPUDeviceLostCallbackInfo
impl !Sync for WGPUDeviceLostCallbackInfo
impl Unpin for WGPUDeviceLostCallbackInfo
impl UnwindSafe for WGPUDeviceLostCallbackInfo
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