Struct MapValueParser
struct MapValueParser<P, F> { ... }
Adapt a TypedValueParser from one value to another
Implementations
impl<I> IntoResettable for MapValueParser<P, F>
fn into_resettable(self: Self) -> Resettable<ValueParser>
impl<P, F> Freeze for MapValueParser<P, F>
impl<P, F> RefUnwindSafe for MapValueParser<P, F>
impl<P, F> Send for MapValueParser<P, F>
impl<P, F> Sync for MapValueParser<P, F>
impl<P, F> Unpin for MapValueParser<P, F>
impl<P, F> UnsafeUnpin for MapValueParser<P, F>
impl<P, F> UnwindSafe for MapValueParser<P, F>
impl<P, F, T> TypedValueParser for MapValueParser<P, F>
fn parse_ref(self: &Self, cmd: &Command, arg: Option<&Arg>, value: &OsStr) -> Result<<Self as >::Value, Error>fn parse(self: &Self, cmd: &Command, arg: Option<&Arg>, value: OsString) -> Result<<Self as >::Value, Error>fn possible_values(self: &Self) -> Option<Box<dyn Iterator<Item = PossibleValue> + '_>>
impl<P: $crate::clone::Clone, F: $crate::clone::Clone> Clone for MapValueParser<P, F>
fn clone(self: &Self) -> MapValueParser<P, F>
impl<P: $crate::fmt::Debug, F: $crate::fmt::Debug> Debug for MapValueParser<P, F>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<T> Any for MapValueParser<P, F>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for MapValueParser<P, F>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for MapValueParser<P, F>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for MapValueParser<P, F>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for MapValueParser<P, F>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for MapValueParser<P, F>
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for MapValueParser<P, F>
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 MapValueParser<P, F>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for MapValueParser<P, F>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>