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
opt_level: String
lto: bool
codegen_units: Option<u32>
rustc_args: Option<Vec<String>>
rustdoc_args: Option<Vec<String>>
debuginfo: Option<u32>
debug_assertions: bool
overflow_checks: bool
rpath: bool
test: bool
doc: bool
run_custom_build: bool
check: bool
panic: Option<String>
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
fn default_check() -> Profile
fn default_doctest() -> Profile
Trait Implementations
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 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 Eq for Profile
[src]
impl Debug for Profile
[src]
impl Hash for Profile
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more