pub enum LoopCount {
Infinite,
Finite(NonZeroU16),
}Expand description
WebP loop count without exposing the file format’s 0 == infinite sentinel.
Variants§
Infinite
The animation repeats indefinitely according to the WebP loop value.
Finite(NonZeroU16)
A finite, non-zero loop count stored by WebP.
Trait Implementations§
impl Copy for LoopCount
impl Eq for LoopCount
impl StructuralPartialEq for LoopCount
Auto Trait Implementations§
impl Freeze for LoopCount
impl RefUnwindSafe for LoopCount
impl Send for LoopCount
impl Sync for LoopCount
impl Unpin for LoopCount
impl UnsafeUnpin for LoopCount
impl UnwindSafe for LoopCount
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