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

pub enum CreateShaderError {
    ModelNotSupported,
    StageNotSupported(Stage),
    CompilationFailed(String),
}

An error type for creating shaders.

Variants

The device does not support the requested shader model.

The device does not support the shader stage.

The shader failed to compile.

Trait Implementations

impl Clone for CreateShaderError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Error for CreateShaderError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more

impl PartialEq<CreateShaderError> for CreateShaderError
[src]

[src]

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

[src]

This method tests for !=.

impl Debug for CreateShaderError
[src]

[src]

Formats the value using the given formatter.

impl Display for CreateShaderError
[src]

[src]

Formats the value using the given formatter. Read more