pub struct Vp8lDecoder { /* private fields */ }Expand description
VP8L lossless image decoder.
Implementations§
Source§impl Vp8lDecoder
impl Vp8lDecoder
Sourcepub fn decode(&mut self, data: &[u8]) -> CodecResult<DecodedImage>
pub fn decode(&mut self, data: &[u8]) -> CodecResult<DecodedImage>
Decode a VP8L bitstream starting at the signature byte.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Vp8lDecoder
impl RefUnwindSafe for Vp8lDecoder
impl Send for Vp8lDecoder
impl Sync for Vp8lDecoder
impl Unpin for Vp8lDecoder
impl UnsafeUnpin for Vp8lDecoder
impl UnwindSafe for Vp8lDecoder
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more