pub enum VP8StatusCode {
VP8_STATUS_OK = 0,
VP8_STATUS_OUT_OF_MEMORY = 1,
VP8_STATUS_INVALID_PARAM = 2,
VP8_STATUS_BITSTREAM_ERROR = 3,
VP8_STATUS_UNSUPPORTED_FEATURE = 4,
VP8_STATUS_SUSPENDED = 5,
VP8_STATUS_USER_ABORT = 6,
VP8_STATUS_NOT_ENOUGH_DATA = 7,
}Variants§
VP8_STATUS_OK = 0
VP8_STATUS_OUT_OF_MEMORY = 1
VP8_STATUS_INVALID_PARAM = 2
VP8_STATUS_BITSTREAM_ERROR = 3
VP8_STATUS_UNSUPPORTED_FEATURE = 4
VP8_STATUS_SUSPENDED = 5
VP8_STATUS_USER_ABORT = 6
VP8_STATUS_NOT_ENOUGH_DATA = 7
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 duplicate 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 for VP8StatusCode
impl PartialEq for VP8StatusCode
Source§impl PartialOrd for VP8StatusCode
impl PartialOrd for VP8StatusCode
impl Copy for VP8StatusCode
impl Eq for VP8StatusCode
impl StructuralPartialEq for VP8StatusCode
Auto Trait Implementations§
impl Freeze for VP8StatusCode
impl RefUnwindSafe for VP8StatusCode
impl Send for VP8StatusCode
impl Sync for VP8StatusCode
impl Unpin for VP8StatusCode
impl UnwindSafe for VP8StatusCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more