pub struct WebPImage { /* fields omitted */ }
Expand description
This struct represents a decoded image.
Its data contents can be accessed through the Deref and DerefMut traits.
It is also possible to create an image::DynamicImage from this struct.
Creates a DynamicImage from this WebPImage.
Returns the width of the image in pixels.
Returns the height of the image in pixels.
The resulting type after dereferencing.
Mutably dereferences the value.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.