[go: up one dir, main page]

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

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

Fields

opt_level: u32 lto: bool codegen_units: Option<u32> rustc_args: Option<Vec<String>> rustdoc_args: Option<Vec<String>> debuginfo: bool debug_assertions: bool rpath: bool test: bool doc: bool run_custom_build: bool

Methods

impl Profile
[src]

Trait Implementations

impl Hash for Profile
[src]

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

Feeds this value into the state given, updating the hasher as necessary.

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0

Feeds a slice of this type into the state provided.

impl Debug for Profile
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Eq for Profile
[src]

impl PartialEq for Profile
[src]

fn eq(&self, __arg_0: &Profile) -> bool

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

fn ne(&self, __arg_0: &Profile) -> bool

This method tests for !=.

impl Clone for Profile
[src]

fn clone(&self) -> Profile

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Decodable for Profile
[src]

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Profile, __D::Error>

impl Encodable for Profile
[src]

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Default for Profile
[src]

fn default() -> Profile

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

impl Display for Profile
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.