Struct gfx_hal::device::DeviceLost
source · pub struct DeviceLost;
Expand description
Error occurred caused device to be lost.
Trait Implementations
sourceimpl Clone for DeviceLost
impl Clone for DeviceLost
sourcefn clone(&self) -> DeviceLost
fn clone(&self) -> DeviceLost
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DeviceLost
impl Debug for DeviceLost
sourceimpl Display for DeviceLost
impl Display for DeviceLost
sourceimpl Fail for DeviceLost
impl Fail for DeviceLost
sourcefn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moresourceimpl From<DeviceLost> for CreationError
impl From<DeviceLost> for CreationError
sourcefn from(error: DeviceLost) -> Self
fn from(error: DeviceLost) -> Self
Converts to this type from the input type.
sourceimpl From<DeviceLost> for OomOrDeviceLost
impl From<DeviceLost> for OomOrDeviceLost
sourcefn from(error: DeviceLost) -> Self
fn from(error: DeviceLost) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<DeviceLost> for DeviceLost
impl PartialEq<DeviceLost> for DeviceLost
sourcefn eq(&self, other: &DeviceLost) -> bool
fn eq(&self, other: &DeviceLost) -> bool
impl Copy for DeviceLost
impl Eq for DeviceLost
impl StructuralEq for DeviceLost
impl StructuralPartialEq for DeviceLost
Auto Trait Implementations
impl RefUnwindSafe for DeviceLost
impl Send for DeviceLost
impl Sync for DeviceLost
impl Unpin for DeviceLost
impl UnwindSafe for DeviceLost
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more