pub enum AnimImageLoopMode {
Loop,
Once,
Bounce,
}Expand description
Frame-advance loop mode for AnimImage.
Variants§
Loop
Wrap back to frame 0 after the last frame (infinite loop).
Once
Play once and stop at the last frame; fires on_complete.
Bounce
Ping-pong: reverse direction at each end.
Trait Implementations§
Source§impl Clone for AnimImageLoopMode
impl Clone for AnimImageLoopMode
Source§fn clone(&self) -> AnimImageLoopMode
fn clone(&self) -> AnimImageLoopMode
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 moreimpl Copy for AnimImageLoopMode
Source§impl Debug for AnimImageLoopMode
impl Debug for AnimImageLoopMode
impl Eq for AnimImageLoopMode
Source§impl PartialEq for AnimImageLoopMode
impl PartialEq for AnimImageLoopMode
impl StructuralPartialEq for AnimImageLoopMode
Auto Trait Implementations§
impl Freeze for AnimImageLoopMode
impl RefUnwindSafe for AnimImageLoopMode
impl Send for AnimImageLoopMode
impl Sync for AnimImageLoopMode
impl Unpin for AnimImageLoopMode
impl UnsafeUnpin for AnimImageLoopMode
impl UnwindSafe for AnimImageLoopMode
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