[][src]Struct mrf::subcommands::map::Opts

pub struct Opts { /* fields omitted */ }

Map each item according to the replacer.

Examples:

  1. Replace hyphen with underscore:

    $ mrf map example-001 '{}{=_}{}' example-001 -> example_001

  2. Pipe to cp (consider using the "exec" subcommand instead):

    $ mrf map * '{}{=-}{}' | xargs -0 -n2 cp

Trait Implementations

impl Clap for Opts[src]

impl FromArgMatches for Opts[src]

impl IntoApp for Opts[src]

Auto Trait Implementations

impl RefUnwindSafe for Opts

impl Send for Opts

impl Sync for Opts

impl Unpin for Opts

impl UnwindSafe for Opts

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,