Enum screen_13::driver::SwapchainError
source · [−]pub enum SwapchainError {
DeviceLost,
Suboptimal,
SurfaceLost,
}Variants
DeviceLost
This frame is lost but more may be acquired later.
Suboptimal
This frame is not lost but there may be a delay while the next frame is recreated.
SurfaceLost
The surface was lost and must be recreated, which includes any operating system window.
Trait Implementations
sourceimpl Debug for SwapchainError
impl Debug for SwapchainError
sourceimpl From<SwapchainError> for DisplayError
impl From<SwapchainError> for DisplayError
sourcefn from(_: SwapchainError) -> Self
fn from(_: SwapchainError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for SwapchainError
impl Send for SwapchainError
impl Sync for SwapchainError
impl Unpin for SwapchainError
impl UnwindSafe for SwapchainError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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