Enum gfx::device::shade::CreateShaderError [] [src]

pub enum CreateShaderError {
    ModelNotSupported,
    ShaderCompilationFailed(String),
}

An error type for creating shaders.

Variants

ModelNotSupported

The device does not support the requested shader model.

ShaderCompilationFailed

The shader failed to compile.

Trait Implementations

Derived Implementations

impl Debug for CreateShaderError

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

impl PartialEq for CreateShaderError

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

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

impl Clone for CreateShaderError

fn clone(&self) -> CreateShaderError

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