Struct wgpu::core::device::DeviceLostClosureC
source · #[repr(C)]pub struct DeviceLostClosureC {
pub callback: unsafe extern "C" fn(_: *mut u8, _: u8, _: *const i8),
pub user_data: *mut u8,
/* private fields */
}
Available on
wgpu_core
only.Fields§
§callback: unsafe extern "C" fn(_: *mut u8, _: u8, _: *const i8)
§user_data: *mut u8
Trait Implementations§
source§impl Drop for DeviceLostClosureC
impl Drop for DeviceLostClosureC
impl Send for DeviceLostClosureC
Available on
send_sync
only.Auto Trait Implementations§
impl Freeze for DeviceLostClosureC
impl RefUnwindSafe for DeviceLostClosureC
impl !Sync for DeviceLostClosureC
impl Unpin for DeviceLostClosureC
impl UnwindSafe for DeviceLostClosureC
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