Struct BoolValueParser
struct BoolValueParser { ... }
Implementation for ValueParser::bool
Useful for composing new TypedValueParsers
Implementations
impl BoolValueParser
fn new() -> SelfImplementation for
ValueParser::bool
impl Clone for BoolValueParser
fn clone(self: &Self) -> BoolValueParser
impl Copy for BoolValueParser
impl Debug for BoolValueParser
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Default for BoolValueParser
fn default() -> Self
impl Freeze for BoolValueParser
impl RefUnwindSafe for BoolValueParser
impl Send for BoolValueParser
impl Sync for BoolValueParser
impl TypedValueParser for BoolValueParser
fn parse_ref(self: &Self, cmd: &Command, arg: Option<&Arg>, value: &OsStr) -> Result<<Self as >::Value, Error>fn possible_values(self: &Self) -> Option<Box<dyn Iterator<Item = PossibleValue> + '_>>
impl Unpin for BoolValueParser
impl UnsafeUnpin for BoolValueParser
impl UnwindSafe for BoolValueParser
impl<I> IntoResettable for BoolValueParser
fn into_resettable(self: Self) -> Resettable<ValueParser>
impl<T> Any for BoolValueParser
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for BoolValueParser
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for BoolValueParser
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for BoolValueParser
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for BoolValueParser
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for BoolValueParser
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for BoolValueParser
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for BoolValueParser
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for BoolValueParser
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>