Enum gfx_graphics::GlyphError [] [src]

pub enum GlyphError {
    Texture(CombinedError),
    IoError(Error),
}

An enum to represent various possible run-time errors that may occur.

Variants

Texture(CombinedError)

An error happened when creating a gfx texture.

IoError(Error)

An io error happened when reading font files.

Trait Implementations

impl Debug for Error
[src]

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

Formats the value using the given formatter.

impl From<CombinedError> for Error
[src]

fn from(tex_err: CombinedError) -> Self

Performs the conversion.

impl From<Error> for Error
[src]

fn from(io_error: Error) -> Self

Performs the conversion.