pub enum LoopControl {
Iterations(u32),
Time(Duration),
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for LoopControl
impl Clone for LoopControl
Source§fn clone(&self) -> LoopControl
fn clone(&self) -> LoopControl
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 moreSource§impl Default for LoopControl
impl Default for LoopControl
impl Copy for LoopControl
Auto Trait Implementations§
impl Freeze for LoopControl
impl RefUnwindSafe for LoopControl
impl Send for LoopControl
impl Sync for LoopControl
impl Unpin for LoopControl
impl UnwindSafe for LoopControl
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