GitHub project page

Struct lodepng::ffi::Error [] [src]

pub struct Error(pub c_uint);

Methods

impl Error

fn as_str(&self) -> &'static str

Returns an English description of the numerical error code.

impl Error

fn to_result(self) -> Result<(), Error>

Helper function for the library

Trait Implementations

impl Debug for Error

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

impl Display for Error

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

Derived Implementations

impl Clone for Error

fn clone(&self) -> Error

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

impl Copy for Error