Enum imagequant_sys::liq_error
source · #[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
Implementations§
Trait Implementations§
source§impl Error for liq_error
impl Error for liq_error
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more