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

pub struct Error(pub c_uint);

Methods

impl Error
[src]

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

Returns an English description of the numerical error code.

impl Error
[src]

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

Helper function for the library

Trait Implementations

impl Clone for Error
[src]

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 Copy for Error
[src]

impl Debug for Error
[src]

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

Formats the value using the given formatter.

impl Display for Error
[src]

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

Formats the value using the given formatter.

impl From<Error> for Error
[src]

fn from(err: Error) -> Error

Performs the conversion.