pub enum LoopBehavior {
OneShot,
LoopForever,
LoopN {
current: usize,
cycles: usize,
},
Nop,
}Variants§
OneShot
Execute this action or sequence exactly once
LoopForever
Loop this action or sequence endlessly
LoopN
Loop this action or sequence N times
Nop
This action will immediately yield to the next
Trait Implementations§
Source§impl Clone for LoopBehavior
impl Clone for LoopBehavior
Source§fn clone(&self) -> LoopBehavior
fn clone(&self) -> LoopBehavior
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LoopBehavior
impl RefUnwindSafe for LoopBehavior
impl Send for LoopBehavior
impl Sync for LoopBehavior
impl Unpin for LoopBehavior
impl UnwindSafe for LoopBehavior
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