pub enum LoopDecision {
Again,
Done,
}Expand description
Whether a loop body returned Again or Done.
Variants§
Again
Continue iterating with the inner value as the next input.
Done
Exit the loop; the inner value is the loop’s output.
Trait Implementations§
Source§impl AsRef<str> for LoopDecision
impl AsRef<str> for LoopDecision
Source§impl Clone for LoopDecision
impl Clone for LoopDecision
Source§fn clone(&self) -> LoopDecision
fn clone(&self) -> LoopDecision
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 Debug for LoopDecision
impl Debug for LoopDecision
Source§impl FromStr for LoopDecision
impl FromStr for LoopDecision
Source§impl PartialEq for LoopDecision
impl PartialEq for LoopDecision
Source§impl TryFrom<&str> for LoopDecision
impl TryFrom<&str> for LoopDecision
impl Copy for LoopDecision
impl Eq for LoopDecision
impl StructuralPartialEq for LoopDecision
Auto Trait Implementations§
impl Freeze for LoopDecision
impl RefUnwindSafe for LoopDecision
impl Send for LoopDecision
impl Sync for LoopDecision
impl Unpin for LoopDecision
impl UnsafeUnpin for LoopDecision
impl UnwindSafe for LoopDecision
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