pub enum ImageLoopMode {
File,
Once,
Loop,
PingPong,
}Expand description
Time mapping applied to a decoded animation, without modifying its frame data.
Variants§
File
Honor encoded play count; hold the last frame afterwards.
Once
Play once and hold the final frame.
Loop
Repeat indefinitely.
PingPong
Reverse interior frames without duplicating endpoint durations.
Trait Implementations§
Source§impl Clone for ImageLoopMode
impl Clone for ImageLoopMode
impl Copy for ImageLoopMode
Source§impl Debug for ImageLoopMode
impl Debug for ImageLoopMode
Source§impl Default for ImageLoopMode
impl Default for ImageLoopMode
impl Eq for ImageLoopMode
Source§impl PartialEq for ImageLoopMode
impl PartialEq for ImageLoopMode
impl StructuralPartialEq for ImageLoopMode
Auto Trait Implementations§
impl Forget for ImageLoopMode
impl Freeze for ImageLoopMode
impl Move for ImageLoopMode
impl RefUnwindSafe for ImageLoopMode
impl Send for ImageLoopMode
impl Sync for ImageLoopMode
impl Unpin for ImageLoopMode
impl UnsafeUnpin for ImageLoopMode
impl UnwindSafe for ImageLoopMode
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