pub enum LoopSignal {
Continue,
Stop,
}Expand description
A loop body’s verdict on whether to go round again.
Variants§
Trait Implementations§
Source§impl Clone for LoopSignal
impl Clone for LoopSignal
Source§fn clone(&self) -> LoopSignal
fn clone(&self) -> LoopSignal
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 moreSource§impl Debug for LoopSignal
impl Debug for LoopSignal
Source§impl PartialEq for LoopSignal
impl PartialEq for LoopSignal
Source§fn eq(&self, other: &LoopSignal) -> bool
fn eq(&self, other: &LoopSignal) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LoopSignal
impl Eq for LoopSignal
impl StructuralPartialEq for LoopSignal
Auto Trait Implementations§
impl Freeze for LoopSignal
impl RefUnwindSafe for LoopSignal
impl Send for LoopSignal
impl Sync for LoopSignal
impl Unpin for LoopSignal
impl UnsafeUnpin for LoopSignal
impl UnwindSafe for LoopSignal
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