Enum sierra::SurfaceError[][src]

pub enum SurfaceError {
    OutOfMemory {
        source: OutOfMemory,
    },
    NotSupported,
    UsageNotSupported {
        usage: ImageUsage,
    },
    SurfaceLost,
    FormatUnsupported {
        format: Format,
    },
    PresentModeUnsupported {
        mode: PresentMode,
    },
    AlreadyUsed,
}

Variants

OutOfMemory

Fields of OutOfMemory

source: OutOfMemory
NotSupported
UsageNotSupported

Fields of UsageNotSupported

usage: ImageUsage
SurfaceLost
FormatUnsupported

Fields of FormatUnsupported

format: Format
PresentModeUnsupported

Fields of PresentModeUnsupported

mode: PresentMode
AlreadyUsed

Trait Implementations

impl Clone for SurfaceError[src]

impl Copy for SurfaceError[src]

impl Debug for SurfaceError[src]

impl Display for SurfaceError[src]

impl Eq for SurfaceError[src]

impl Error for SurfaceError[src]

impl From<OutOfMemory> for SurfaceError[src]

impl PartialEq<SurfaceError> for SurfaceError[src]

impl StructuralEq for SurfaceError[src]

impl StructuralPartialEq for SurfaceError[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> From<T> for T[src]

impl<T> Instrument for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.