pub enum ExplicitChoice {
Strict,
Default,
}Expand description
Explicit user choice from the CLI flag layer.
None if neither --strict nor --no-strict was supplied.
Variants§
Strict
User passed --strict or --moreutils-compat.
Default
User passed --no-strict or --no-moreutils-compat.
Trait Implementations§
Source§impl Clone for ExplicitChoice
impl Clone for ExplicitChoice
Source§fn clone(&self) -> ExplicitChoice
fn clone(&self) -> ExplicitChoice
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 ExplicitChoice
impl Debug for ExplicitChoice
Source§impl PartialEq for ExplicitChoice
impl PartialEq for ExplicitChoice
Source§fn eq(&self, other: &ExplicitChoice) -> bool
fn eq(&self, other: &ExplicitChoice) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ExplicitChoice
impl Eq for ExplicitChoice
impl StructuralPartialEq for ExplicitChoice
Auto Trait Implementations§
impl Freeze for ExplicitChoice
impl RefUnwindSafe for ExplicitChoice
impl Send for ExplicitChoice
impl Sync for ExplicitChoice
impl Unpin for ExplicitChoice
impl UnsafeUnpin for ExplicitChoice
impl UnwindSafe for ExplicitChoice
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