Struct oysterpack_built_mod::CompileOptLevel [−][src]
pub struct CompileOptLevel(_);
Value of OPT_LEVEL for the profile used during compilation.
Methods
impl CompileOptLevel
[src]
impl CompileOptLevel
pub fn new(value: u8) -> CompileOptLevel
[src]
pub fn new(value: u8) -> CompileOptLevel
TargetTriple constructor
pub fn get(&self) -> u8
[src]
pub fn get(&self) -> u8
get the underlying value
Trait Implementations
impl Debug for CompileOptLevel
[src]
impl Debug for CompileOptLevel
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for CompileOptLevel
[src]
impl Clone for CompileOptLevel
fn clone(&self) -> CompileOptLevel
[src]
fn clone(&self) -> CompileOptLevel
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Eq for CompileOptLevel
[src]
impl Eq for CompileOptLevel
impl PartialEq for CompileOptLevel
[src]
impl PartialEq for CompileOptLevel
fn eq(&self, other: &CompileOptLevel) -> bool
[src]
fn eq(&self, other: &CompileOptLevel) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CompileOptLevel) -> bool
[src]
fn ne(&self, other: &CompileOptLevel) -> bool
This method tests for !=
.
impl Hash for CompileOptLevel
[src]
impl Hash for CompileOptLevel
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &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[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Display for CompileOptLevel
[src]
impl Display for CompileOptLevel
Auto Trait Implementations
impl Send for CompileOptLevel
impl Send for CompileOptLevel
impl Sync for CompileOptLevel
impl Sync for CompileOptLevel