Enum gfx::device::tex::SurfaceError [] [src]

pub enum SurfaceError {
    UnsupportedFormat,
    UnsupportedGamma,
}

Surface creation/update error.

Variants

UnsupportedFormat

Failed to map a given format to the device.

UnsupportedGamma

Failed to provide sRGB formats.

Trait Implementations

Derived Implementations

impl Debug for SurfaceError

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialEq for SurfaceError

fn eq(&self, __arg_0: &SurfaceError) -> bool

fn ne(&self, __arg_0: &SurfaceError) -> bool

impl Clone for SurfaceError

fn clone(&self) -> SurfaceError

fn clone_from(&mut self, source: &Self)

impl Copy for SurfaceError