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]
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 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: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl Debug for Profile[src]
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