Struct PathBufValueParser

struct PathBufValueParser { ... }

Implementation for ValueParser::path_buf

Useful for composing new TypedValueParsers

Implementations

impl PathBufValueParser

fn new() -> Self

Implementation for ValueParser::path_buf

impl Clone for PathBufValueParser

fn clone(self: &Self) -> PathBufValueParser

impl Copy for PathBufValueParser

impl Debug for PathBufValueParser

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Default for PathBufValueParser

fn default() -> Self

impl Freeze for PathBufValueParser

impl RefUnwindSafe for PathBufValueParser

impl Send for PathBufValueParser

impl Sync for PathBufValueParser

impl TypedValueParser for PathBufValueParser

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 PathBufValueParser

impl UnsafeUnpin for PathBufValueParser

impl UnwindSafe for PathBufValueParser

impl<I> IntoResettable for PathBufValueParser

fn into_resettable(self: Self) -> Resettable<ValueParser>

impl<T> Any for PathBufValueParser

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for PathBufValueParser

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for PathBufValueParser

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for PathBufValueParser

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for PathBufValueParser

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for PathBufValueParser

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for PathBufValueParser

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for PathBufValueParser

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for PathBufValueParser

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>