[][src]Struct cli::commands::build::SharedBuildCommand

pub struct SharedBuildCommand {
    pub example: Option<String>,
    pub features: Vec<String>,
    pub all_features: bool,
    pub no_default_features: bool,
    pub release: bool,
    pub target_dir: Option<PathBuf>,
}

Fields

example: Option<String>

Build the specified example.

features: Vec<String>

Space or comma separated list of features to activate. These features only apply to the current directory's package. Features of direct dependencies may be enabled with <dep-name>/<feature-name> syntax. This flag may be specified multiple times, which enables all specified features.

all_features: bool

Activate all available features of selected package.

no_default_features: bool

Do not activate the default feature of the current directory's package.

release: bool

Build optimized artifact with the release profile.

target_dir: Option<PathBuf>

Directory for generated artifact and intermediate files.

Trait Implementations

impl Clap for SharedBuildCommand[src]

impl Clone for SharedBuildCommand[src]

impl Debug for SharedBuildCommand[src]

impl FromArgMatches for SharedBuildCommand[src]

impl IntoApp for SharedBuildCommand[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.