Enum imagequant_sys::liq_error
[−]
[src]
#[repr(C)]pub enum liq_error { LIQ_OK, LIQ_QUALITY_TOO_LOW, LIQ_VALUE_OUT_OF_RANGE, LIQ_OUT_OF_MEMORY, LIQ_ABORTED, LIQ_BITMAP_NOT_AVAILABLE, LIQ_BUFFER_TOO_SMALL, LIQ_INVALID_POINTER, LIQ_UNSUPPORTED, }
Variants
LIQ_OKLIQ_QUALITY_TOO_LOWLIQ_VALUE_OUT_OF_RANGELIQ_OUT_OF_MEMORYLIQ_ABORTEDLIQ_BITMAP_NOT_AVAILABLELIQ_BUFFER_TOO_SMALLLIQ_INVALID_POINTERLIQ_UNSUPPORTED
Methods
impl liq_error[src]
fn is_ok(&self) -> bool[src]
fn is_err(&self) -> bool[src]
fn ok(&self) -> Result<(), liq_error>[src]
fn unwrap(&self)[src]
fn expect(&self, msg: &str)[src]
Trait Implementations
impl Copy for liq_error[src]
impl Clone for liq_error[src]
fn clone(&self) -> liq_error[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for liq_error[src]
impl Eq for liq_error[src]
impl PartialEq for liq_error[src]
fn eq(&self, __arg_0: &liq_error) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Error for liq_error[src]
fn description(&self) -> &str[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>1.0.0[src]
The lower-level cause of this error, if any. Read more