Struct StringValueParser
struct StringValueParser { ... }
Implementation for ValueParser::string
Useful for composing new TypedValueParsers
Implementations
impl StringValueParser
fn new() -> SelfImplementation for
ValueParser::string
impl Clone for StringValueParser
fn clone(self: &Self) -> StringValueParser
impl Copy for StringValueParser
impl Debug for StringValueParser
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Default for StringValueParser
fn default() -> Self
impl Freeze for StringValueParser
impl RefUnwindSafe for StringValueParser
impl Send for StringValueParser
impl Sync for StringValueParser
impl TypedValueParser for StringValueParser
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>
impl Unpin for StringValueParser
impl UnsafeUnpin for StringValueParser
impl UnwindSafe for StringValueParser
impl<I> IntoResettable for StringValueParser
fn into_resettable(self: Self) -> Resettable<ValueParser>
impl<T> Any for StringValueParser
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for StringValueParser
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for StringValueParser
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for StringValueParser
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for StringValueParser
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for StringValueParser
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for StringValueParser
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 StringValueParser
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for StringValueParser
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>