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, pub panic: Option<String>, }
Fields
opt_level | |
lto | |
codegen_units | |
rustc_args | |
rustdoc_args | |
debuginfo | |
debug_assertions | |
rpath | |
test | |
doc | |
run_custom_build | |
panic |
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 Default for Profile
[src]
impl Display for Profile
[src]
Derived 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]
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