#[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
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