pub struct DeviceLost;
Expand description
Error occurred caused device to be lost.
Trait Implementations§
Source§impl Clone for DeviceLost
impl Clone for DeviceLost
Source§fn clone(&self) -> DeviceLost
fn clone(&self) -> DeviceLost
Returns a copy 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 DeviceLost
impl Debug for DeviceLost
Source§impl Display for DeviceLost
impl Display for DeviceLost
Source§impl Error for DeviceLost
impl Error for DeviceLost
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<DeviceLost> for AcquireError
impl From<DeviceLost> for AcquireError
Source§fn from(source: DeviceLost) -> Self
fn from(source: DeviceLost) -> Self
Converts to this type from the input type.
Source§impl From<DeviceLost> for PresentError
impl From<DeviceLost> for PresentError
Source§fn from(source: DeviceLost) -> Self
fn from(source: DeviceLost) -> Self
Converts to this type from the input type.
Source§impl From<DeviceLost> for SwapchainError
impl From<DeviceLost> for SwapchainError
Source§fn from(source: DeviceLost) -> Self
fn from(source: DeviceLost) -> Self
Converts to this type from the input type.
Source§impl From<DeviceLost> for WaitError
impl From<DeviceLost> for WaitError
Source§fn from(source: DeviceLost) -> Self
fn from(source: DeviceLost) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DeviceLost
impl PartialEq for DeviceLost
impl StructuralPartialEq for DeviceLost
Auto Trait Implementations§
impl Freeze for DeviceLost
impl RefUnwindSafe for DeviceLost
impl Send for DeviceLost
impl Sync for DeviceLost
impl Unpin for DeviceLost
impl UnwindSafe for DeviceLost
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