[][src]Enum cargo_equip::Opt

pub enum Opt {
    Equip {
        src: Option<PathBuf>,
        bin: Option<String>,
        manifest_path: Option<PathBuf>,
        remove: Vec<Remove>,
        oneline: Oneline,
        rustfmt: bool,
        check: bool,
        output: Option<PathBuf>,
    },
}

Variants

Equip

Fields of Equip

src: Option<PathBuf>

Path the main source file of the bin target

bin: Option<String>

Name of the bin target

manifest_path: Option<PathBuf>

Path to Cargo.toml

remove: Vec<Remove>

Remove some part

oneline: Oneline

Fold part of the output before emitting

rustfmt: bool

Format the output before emitting

check: bool

Check the output before emitting

output: Option<PathBuf>

Write to the file instead of STDOUT

Trait Implementations

impl Debug for Opt[src]

impl StructOpt for Opt[src]

impl StructOptInternal for Opt[src]

Auto Trait Implementations

impl RefUnwindSafe for Opt

impl Send for Opt

impl Sync for Opt

impl Unpin for Opt

impl UnwindSafe for Opt

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>,