#[repr(C)]pub struct WGPUDeviceLostCallbackInfo {
pub nextInChain: *mut WGPUChainedStruct,
pub mode: WGPUCallbackMode,
pub callback: WGPUDeviceLostCallback,
pub userdata1: *mut c_void,
pub userdata2: *mut c_void,
}Fields§
§nextInChain: *mut WGPUChainedStruct§mode: WGPUCallbackMode§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 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 Debug for WGPUDeviceLostCallbackInfo
impl Debug for WGPUDeviceLostCallbackInfo
Source§impl Default for WGPUDeviceLostCallbackInfo
impl Default for WGPUDeviceLostCallbackInfo
Source§impl Hash for WGPUDeviceLostCallbackInfo
impl Hash for WGPUDeviceLostCallbackInfo
Source§impl Ord for WGPUDeviceLostCallbackInfo
impl Ord for WGPUDeviceLostCallbackInfo
Source§fn cmp(&self, other: &WGPUDeviceLostCallbackInfo) -> Ordering
fn cmp(&self, other: &WGPUDeviceLostCallbackInfo) -> 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 PartialOrd for WGPUDeviceLostCallbackInfo
impl PartialOrd for WGPUDeviceLostCallbackInfo
impl Copy for WGPUDeviceLostCallbackInfo
impl Eq for WGPUDeviceLostCallbackInfo
impl StructuralPartialEq 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