[][src]Struct cargo_metadata::ArtifactProfile

pub struct ArtifactProfile {
    pub opt_level: String,
    pub debuginfo: Option<u32>,
    pub debug_assertions: bool,
    pub overflow_checks: bool,
    pub test: bool,
    // some fields omitted
}

Profile settings used to determine which compiler flags to use for a target.

Fields

opt_level: String

Optimization level. Possible values are 0-3, s or z.

debuginfo: Option<u32>

The amount of debug info. 0 for none, 1 for limited, 2 for full

debug_assertions: bool

State of the cfg(debug_assertions) directive, enabling macros like debug_assert!

overflow_checks: bool

State of the overflow checks.

test: bool

Whether this profile is a test

Trait Implementations

impl Clone for ArtifactProfile[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for ArtifactProfile[src]

impl Serialize for ArtifactProfile[src]

impl<'de> Deserialize<'de> for ArtifactProfile[src]

Auto Trait Implementations

Blanket Implementations

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.

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]