Enum imagequant::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
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 ok_or<E>(self, err: E) -> Result<(), E>
[src]
fn unwrap(&self)
[src]
fn expect(&self, msg: &str)
[src]
Trait Implementations
impl Copy for liq_error
[src]
impl Error for liq_error
[src]
fn description(&self) -> &str
[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 Eq for liq_error
[src]
impl PartialEq<liq_error> for liq_error
[src]
impl Debug for liq_error
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.