pub enum SwapchainError {
Create(CreationError),
BadPresentMode(PresentMode),
BadImageCount(SwapImageIndex),
}
Expand description
Error creating a new swapchain.
Variants§
Create(CreationError)
Internal error in gfx-hal.
BadPresentMode(PresentMode)
Present mode is not supported.
BadImageCount(SwapImageIndex)
Image count is not supported.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SwapchainError
impl RefUnwindSafe for SwapchainError
impl Send for SwapchainError
impl Sync for SwapchainError
impl Unpin for SwapchainError
impl UnwindSafe for SwapchainError
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