pub struct SurfaceLost;
Expand description
Error occurred caused surface to be lost.
Trait Implementations§
Source§impl Clone for SurfaceLost
impl Clone for SurfaceLost
Source§fn clone(&self) -> SurfaceLost
fn clone(&self) -> SurfaceLost
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 SurfaceLost
impl Debug for SurfaceLost
Source§impl Display for SurfaceLost
impl Display for SurfaceLost
Source§impl Error for SurfaceLost
impl Error for SurfaceLost
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<SurfaceLost> for AcquireError
impl From<SurfaceLost> for AcquireError
Source§fn from(source: SurfaceLost) -> Self
fn from(source: SurfaceLost) -> Self
Converts to this type from the input type.
Source§impl From<SurfaceLost> for PresentError
impl From<SurfaceLost> for PresentError
Source§fn from(source: SurfaceLost) -> Self
fn from(source: SurfaceLost) -> Self
Converts to this type from the input type.
Source§impl From<SurfaceLost> for SwapchainError
impl From<SurfaceLost> for SwapchainError
Source§fn from(source: SurfaceLost) -> Self
fn from(source: SurfaceLost) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SurfaceLost
impl PartialEq for SurfaceLost
impl StructuralPartialEq for SurfaceLost
Auto Trait Implementations§
impl Freeze for SurfaceLost
impl RefUnwindSafe for SurfaceLost
impl Send for SurfaceLost
impl Sync for SurfaceLost
impl Unpin for SurfaceLost
impl UnwindSafe for SurfaceLost
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