Enum kvarn_chute::ContinueBehaviour
source · pub enum ContinueBehaviour {
Ask,
Default,
Yes,
No,
}
Variants§
Ask
Asks the user for confirmation.
Default
Continues with the default.
Yes
Continues with yes
.
No
Continues with no
.
Trait Implementations§
source§impl Clone for ContinueBehaviour
impl Clone for ContinueBehaviour
source§fn clone(&self) -> ContinueBehaviour
fn clone(&self) -> ContinueBehaviour
Returns a copy 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 ContinueBehaviour
impl Debug for ContinueBehaviour
source§impl PartialEq<ContinueBehaviour> for ContinueBehaviour
impl PartialEq<ContinueBehaviour> for ContinueBehaviour
source§fn eq(&self, other: &ContinueBehaviour) -> bool
fn eq(&self, other: &ContinueBehaviour) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ContinueBehaviour
impl Eq for ContinueBehaviour
impl StructuralEq for ContinueBehaviour
impl StructuralPartialEq for ContinueBehaviour
Auto Trait Implementations§
impl RefUnwindSafe for ContinueBehaviour
impl Send for ContinueBehaviour
impl Sync for ContinueBehaviour
impl Unpin for ContinueBehaviour
impl UnwindSafe for ContinueBehaviour
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.