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 debuginfo: bool,
    pub debug_assertions: bool,
    pub rpath: bool,
    pub test: bool,
    pub doc: bool,
    pub run_custom_build: bool,
}

Fields

opt_level
lto
codegen_units
rustc_args
debuginfo
debug_assertions
rpath
test
doc
run_custom_build

Methods

impl Profile

fn default_dev() -> Profile

fn default_release() -> Profile

fn default_test() -> Profile

fn default_bench() -> Profile

fn default_doc() -> Profile

fn default_custom_build() -> Profile

Trait Implementations

impl Default for Profile

fn default() -> Profile

impl Display for Profile

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

Derived Implementations

impl Hash for Profile

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

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

impl Debug for Profile

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

impl Eq for Profile

impl PartialEq for Profile

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

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

impl Clone for Profile

fn clone(&self) -> Profile

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

impl Decodable for Profile

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

impl Encodable for Profile

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