Enum gfx_graphics::GlyphError [] [src]

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

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

Variants

Texture

An error happened when creating a gfx texture.

IoError

An io error happened when reading font files.

NoFont

No font was found in the file.

Trait Implementations

impl From<CombinedError> for Error

fn from(tex_err: CombinedError) -> Self

impl From<Error> for Error

fn from(io_error: Error) -> Self

Derived Implementations

impl Debug for Error

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