Struct wgpu_core::device::DeviceLostClosureC
source · #[repr(C)]pub struct DeviceLostClosureC {
pub callback: unsafe extern "C" fn(user_data: *mut u8, reason: u8, message: *const c_char),
pub user_data: *mut u8,
/* private fields */
}
Fields§
§callback: unsafe extern "C" fn(user_data: *mut u8, reason: u8, message: *const c_char)
§user_data: *mut u8
Trait Implementations§
source§impl Drop for DeviceLostClosureC
impl Drop for DeviceLostClosureC
impl Send for DeviceLostClosureC
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