Enum piston_window::Error []

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

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

Variants

An error happened when creating a gfx texture.

An io error happened when reading font files.

No font was found in the file.

Trait Implementations

impl Debug for Error

impl From<CombinedError> for Error

impl From<Error> for Error