[][src]Enum cargo_executable_payload::Opt

pub enum Opt {
    ExecutablePayload {
        use_cross: bool,
        strip_exe: Option<PathBuf>,
        no_upx: bool,
        output: Option<PathBuf>,
        src: Option<PathBuf>,
        bin: Option<String>,
        target: String,
        manifest_path: Option<PathBuf>,
    },
}

Variants

ExecutablePayload

Fields of ExecutablePayload

use_cross: bool

Use cross instead of $CARGO

strip_exe: Option<PathBuf>

Path to strip(1)

no_upx: bool

Do not apply upx

output: Option<PathBuf>

Write output to the file instead of stdout

src: Option<PathBuf>

Path the main source file of the bin target

bin: Option<String>

Name of the bin target

target: String

Build for the target triple

manifest_path: Option<PathBuf>

Path to Cargo.toml

Trait Implementations

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