pub struct WebpDecoder { /* private fields */ }Expand description
Decodes a WebP file to interleaved 8-bit RGB.
gamut ships its own decoder because every WebP decoder in the Rust ecosystem ultimately wraps
libwebp; a #![forbid(unsafe_code)] decoder removes that crate’s memory-unsafety exposure.
Implementations§
Source§impl WebpDecoder
impl WebpDecoder
Trait Implementations§
Source§impl Clone for WebpDecoder
impl Clone for WebpDecoder
Source§fn clone(&self) -> WebpDecoder
fn clone(&self) -> WebpDecoder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WebpDecoder
impl Debug for WebpDecoder
Source§impl DecodeImage<Rgb8> for WebpDecoder
impl DecodeImage<Rgb8> for WebpDecoder
Source§impl DecodeImage<Rgba8> for WebpDecoder
impl DecodeImage<Rgba8> for WebpDecoder
Source§impl Default for WebpDecoder
impl Default for WebpDecoder
Source§fn default() -> WebpDecoder
fn default() -> WebpDecoder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WebpDecoder
impl RefUnwindSafe for WebpDecoder
impl Send for WebpDecoder
impl Sync for WebpDecoder
impl Unpin for WebpDecoder
impl UnsafeUnpin for WebpDecoder
impl UnwindSafe for WebpDecoder
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