Enum gfx_text::Error[][src]

pub enum Error {
    FontError(FontError),
    PipelineError(PipelineStateError<String>),
    ProgramError(ProgramError),
    CombinedError(CombinedError),
    UpdateError(UpdateError<usize>),
}
Expand description

General error type returned by the library. Wraps all other errors.

Variants

FontError(FontError)

Tuple Fields

Font loading error

PipelineError(PipelineStateError<String>)

Tuple Fields

Pipeline creation/update error

ProgramError(ProgramError)

Tuple Fields

Program shader error.

CombinedError(CombinedError)

Tuple Fields

0: CombinedError

An error occuring during creation of texture or resource view

UpdateError(UpdateError<usize>)

Tuple Fields

An error occuring in buffer/texture updates

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.