#[repr(C)]pub struct gs_device_loss {
pub device_loss_release: Option<unsafe extern "C" fn(data: *mut c_void)>,
pub device_loss_rebuild: Option<unsafe extern "C" fn(device: *mut c_void, data: *mut c_void)>,
pub data: *mut c_void,
}Fields§
§device_loss_release: Option<unsafe extern "C" fn(data: *mut c_void)>§device_loss_rebuild: Option<unsafe extern "C" fn(device: *mut c_void, data: *mut c_void)>§data: *mut c_voidTrait Implementations§
Source§impl Clone for gs_device_loss
impl Clone for gs_device_loss
Source§fn clone(&self) -> gs_device_loss
fn clone(&self) -> gs_device_loss
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for gs_device_loss
impl Debug for gs_device_loss
impl Copy for gs_device_loss
Auto Trait Implementations§
impl Freeze for gs_device_loss
impl RefUnwindSafe for gs_device_loss
impl !Send for gs_device_loss
impl !Sync for gs_device_loss
impl Unpin for gs_device_loss
impl UnwindSafe for gs_device_loss
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)