Enum libwebp::VP8StatusCode
source · pub enum VP8StatusCode {
VP8_STATUS_OK,
VP8_STATUS_OUT_OF_MEMORY,
VP8_STATUS_INVALID_PARAM,
VP8_STATUS_BITSTREAM_ERROR,
VP8_STATUS_UNSUPPORTED_FEATURE,
VP8_STATUS_SUSPENDED,
VP8_STATUS_USER_ABORT,
VP8_STATUS_NOT_ENOUGH_DATA,
}
Variants§
VP8_STATUS_OK
VP8_STATUS_OUT_OF_MEMORY
VP8_STATUS_INVALID_PARAM
VP8_STATUS_BITSTREAM_ERROR
VP8_STATUS_UNSUPPORTED_FEATURE
VP8_STATUS_SUSPENDED
VP8_STATUS_USER_ABORT
VP8_STATUS_NOT_ENOUGH_DATA
Implementations§
source§impl VP8StatusCode
impl VP8StatusCode
pub fn from_raw(raw: VP8StatusCode) -> Self
pub fn into_raw(self) -> WEBP_CSP_MODE
Trait Implementations§
source§impl Clone for VP8StatusCode
impl Clone for VP8StatusCode
source§fn clone(&self) -> VP8StatusCode
fn clone(&self) -> VP8StatusCode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VP8StatusCode
impl Debug for VP8StatusCode
source§impl Hash for VP8StatusCode
impl Hash for VP8StatusCode
source§impl Ord for VP8StatusCode
impl Ord for VP8StatusCode
source§fn cmp(&self, other: &VP8StatusCode) -> Ordering
fn cmp(&self, other: &VP8StatusCode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<VP8StatusCode> for VP8StatusCode
impl PartialEq<VP8StatusCode> for VP8StatusCode
source§fn eq(&self, other: &VP8StatusCode) -> bool
fn eq(&self, other: &VP8StatusCode) -> bool
source§impl PartialOrd<VP8StatusCode> for VP8StatusCode
impl PartialOrd<VP8StatusCode> for VP8StatusCode
source§fn partial_cmp(&self, other: &VP8StatusCode) -> Option<Ordering>
fn partial_cmp(&self, other: &VP8StatusCode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more