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 String for Error

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

impl Show for Error

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

Derived Implementations

impl Copy for Error