[][src]Struct cargo::ops::CleanOptions

pub struct CleanOptions<'a> {
    pub config: &'a Config,
    pub spec: Vec<String>,
    pub target: Option<String>,
    pub profile_specified: bool,
    pub profile_kind: ProfileKind,
    pub doc: bool,
}

Fields

config: &'a Configspec: Vec<String>

A list of packages to clean. If empty, everything is cleaned.

target: Option<String>

The target arch triple to clean, or None for the host arch

profile_specified: bool

Whether to clean the release directory

profile_kind: ProfileKind

Whether to clean the directory of a certain build profile

doc: bool

Whether to just clean the doc directory

Auto Trait Implementations

impl<'a> !RefUnwindSafe for CleanOptions<'a>

impl<'a> !Send for CleanOptions<'a>

impl<'a> !Sync for CleanOptions<'a>

impl<'a> Unpin for CleanOptions<'a>

impl<'a> !UnwindSafe for CleanOptions<'a>

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> Same<T> for T

type Output = T

Should always be Self

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