Enum imagequant::ffi::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_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
Trait Implementations
impl Copy for liq_error
[src]
impl Clone for liq_error
[src]
fn clone(&self) -> liq_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 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
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Error for liq_error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more