Struct gfx_hal::device::SurfaceLost
source · pub struct SurfaceLost;
Expand description
Error occurred caused surface to be lost.
Trait Implementations
sourceimpl Clone for SurfaceLost
impl Clone for SurfaceLost
sourcefn clone(&self) -> SurfaceLost
fn clone(&self) -> SurfaceLost
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 SurfaceLost
impl Debug for SurfaceLost
sourceimpl Display for SurfaceLost
impl Display for SurfaceLost
sourceimpl Fail for SurfaceLost
impl Fail for SurfaceLost
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<SurfaceLost> for CreationError
impl From<SurfaceLost> for CreationError
sourcefn from(error: SurfaceLost) -> Self
fn from(error: SurfaceLost) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SurfaceLost> for SurfaceLost
impl PartialEq<SurfaceLost> for SurfaceLost
sourcefn eq(&self, other: &SurfaceLost) -> bool
fn eq(&self, other: &SurfaceLost) -> bool
impl Copy for SurfaceLost
impl Eq for SurfaceLost
impl StructuralEq for SurfaceLost
impl StructuralPartialEq for SurfaceLost
Auto Trait Implementations
impl RefUnwindSafe for SurfaceLost
impl Send for SurfaceLost
impl Sync for SurfaceLost
impl Unpin for SurfaceLost
impl UnwindSafe for SurfaceLost
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