Struct cargo::core::manifest::Profile [] [src]

pub struct Profile {
    pub opt_level: String,
    pub lto: bool,
    pub codegen_units: Option<u32>,
    pub rustc_args: Option<Vec<String>>,
    pub rustdoc_args: Option<Vec<String>>,
    pub debuginfo: Option<u32>,
    pub debug_assertions: bool,
    pub overflow_checks: bool,
    pub rpath: bool,
    pub test: bool,
    pub doc: bool,
    pub run_custom_build: bool,
    pub check: bool,
    pub panic: Option<String>,
}

Fields

Methods

impl Profile
[src]

Trait Implementations

impl Clone for Profile
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Profile
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Profile
[src]

impl Debug for Profile
[src]

Formats the value using the given formatter.

impl Hash for Profile
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Default for Profile
[src]

Returns the "default value" for a type. Read more

impl Display for Profile
[src]

Formats the value using the given formatter. Read more