pub struct DeviceLoss {
pub reason: DeviceLostReason,
pub message: String,
}Fields§
§reason: DeviceLostReason§message: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for DeviceLoss
impl RefUnwindSafe for DeviceLoss
impl Send for DeviceLoss
impl Sync for DeviceLoss
impl Unpin for DeviceLoss
impl UnsafeUnpin for DeviceLoss
impl UnwindSafe for DeviceLoss
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