[][src]Enum gaclen::graphics::swapchain::SwapchainCreationError

pub enum SwapchainCreationError {
    Surface(SurfaceCreationError),
    SurfaceCapabilities(CapabilitiesError),
    Swapchain(VlkSwapchainCreationError),
    Image(ImageCreationError),
    NoCompatibleFormatFound,
    UnsizedWindow,
}

An error during the creation of a Swapchain.

Variants

Error during the creation of draw-surface.

SurfaceCapabilities(CapabilitiesError)

Error during querying draw-surface capabilities.

Error during the creation of the swapchain.

Error during the creation of the depth-buffer image.

NoCompatibleFormatFound

No applicable format for draw-surface was found.

UnsizedWindow

Window passed for the creation of the device has no apparent size..

Trait Implementations

impl Clone for SwapchainCreationError[src]

impl Debug for SwapchainCreationError[src]

impl Eq for SwapchainCreationError[src]

impl From<ImageCreationError> for SwapchainCreationError[src]

impl From<SurfaceCreationError> for SwapchainCreationError[src]

impl PartialEq<SwapchainCreationError> for SwapchainCreationError[src]

impl StructuralEq for SwapchainCreationError[src]

impl StructuralPartialEq for SwapchainCreationError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Content for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SafeBorrow<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.