pub enum DeviceLostReason {
Unknown,
Destroyed,
CallbackCancelled,
FailedCreation,
}Variants§
Trait Implementations§
Source§impl Clone for DeviceLostReason
impl Clone for DeviceLostReason
Source§fn clone(&self) -> DeviceLostReason
fn clone(&self) -> DeviceLostReason
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeviceLostReason
impl Debug for DeviceLostReason
Source§impl From<DeviceLostReason> for c_uint
impl From<DeviceLostReason> for c_uint
Source§fn from(value: DeviceLostReason) -> Self
fn from(value: DeviceLostReason) -> Self
Converts to this type from the input type.
Source§impl From<u32> for DeviceLostReason
impl From<u32> for DeviceLostReason
Source§impl Hash for DeviceLostReason
impl Hash for DeviceLostReason
Source§impl PartialEq for DeviceLostReason
impl PartialEq for DeviceLostReason
impl Copy for DeviceLostReason
impl Eq for DeviceLostReason
impl StructuralPartialEq for DeviceLostReason
Auto Trait Implementations§
impl Freeze for DeviceLostReason
impl RefUnwindSafe for DeviceLostReason
impl Send for DeviceLostReason
impl Sync for DeviceLostReason
impl Unpin for DeviceLostReason
impl UnsafeUnpin for DeviceLostReason
impl UnwindSafe for DeviceLostReason
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