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

impl Debug for SurfaceError
[src]

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

Formats the value using the given formatter.

impl PartialEq for SurfaceError
[src]

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

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Clone for SurfaceError
[src]

fn clone(&self) -> SurfaceError

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Copy for SurfaceError
[src]