pub enum WebpKind {
Static(StaticWebpInfo),
Animated(AnimationInfo),
}Expand description
The kind and metadata of a valid WebP image.
Variants§
Static(StaticWebpInfo)
A non-animated WebP image and its canvas dimensions.
Animated(AnimationInfo)
One stored animated WebP sequence and its metadata.
Trait Implementations§
impl Copy for WebpKind
impl Eq for WebpKind
impl StructuralPartialEq for WebpKind
Auto Trait Implementations§
impl Freeze for WebpKind
impl RefUnwindSafe for WebpKind
impl Send for WebpKind
impl Sync for WebpKind
impl Unpin for WebpKind
impl UnsafeUnpin for WebpKind
impl UnwindSafe for WebpKind
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