pub enum ConfidenceCliValue {
Low,
Medium,
High,
}Expand description
clap renders the variants as the accepted values, so --confidence 0.8
fails with the valid list rather than being rounded into one of them.
Variants§
Trait Implementations§
Source§impl Clone for ConfidenceCliValue
impl Clone for ConfidenceCliValue
Source§fn clone(&self) -> ConfidenceCliValue
fn clone(&self) -> ConfidenceCliValue
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 moreimpl Copy for ConfidenceCliValue
Source§impl Debug for ConfidenceCliValue
impl Debug for ConfidenceCliValue
Source§impl ValueEnum for ConfidenceCliValue
impl ValueEnum for ConfidenceCliValue
Auto Trait Implementations§
impl Freeze for ConfidenceCliValue
impl RefUnwindSafe for ConfidenceCliValue
impl Send for ConfidenceCliValue
impl Sync for ConfidenceCliValue
impl Unpin for ConfidenceCliValue
impl UnsafeUnpin for ConfidenceCliValue
impl UnwindSafe for ConfidenceCliValue
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