pub struct DeviceLostCallbackInfo {
pub mode: Option<CallbackMode>,
pub callback: RefCell<Option<DeviceLostCallback>>,
}Fields§
§mode: Option<CallbackMode>§callback: RefCell<Option<DeviceLostCallback>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for DeviceLostCallbackInfo
impl !RefUnwindSafe for DeviceLostCallbackInfo
impl Send for DeviceLostCallbackInfo
impl !Sync for DeviceLostCallbackInfo
impl Unpin for DeviceLostCallbackInfo
impl UnsafeUnpin for DeviceLostCallbackInfo
impl !UnwindSafe for DeviceLostCallbackInfo
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