Enum piston_window::Error []

pub enum Error {
    Texture(CombinedError),
    Freetype(Error),
}

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

Variants

Texture(CombinedError)

An error happened when creating a gfx texture.

Freetype(Error)

An error happened with the FreeType library.

Trait Implementations

impl PartialEq<Error> for Error

fn eq(&self, __arg_0: &Error) -> bool

fn ne(&self, __arg_0: &Error) -> bool

impl Debug for Error

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

impl Clone for Error

fn clone(&self) -> Error

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl From<CombinedError> for Error

fn from(tex_err: CombinedError) -> Error

impl From<Error> for Error

fn from(ft_err: Error) -> Error