Enum cranelift_codegen::settings::OptLevel [−][src]
pub enum OptLevel { Default, Best, Fastest, }
Values for shared.opt_level
.
Variants
Default
default
.
Best
best
.
Fastest
fastest
.
Trait Implementations
impl Debug for OptLevel
[src]
impl Debug for OptLevel
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 Copy for OptLevel
[src]
impl Copy for OptLevel
impl Clone for OptLevel
[src]
impl Clone for OptLevel
fn clone(&self) -> OptLevel
[src]
fn clone(&self) -> OptLevel
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 PartialEq for OptLevel
[src]
impl PartialEq for OptLevel
fn eq(&self, other: &OptLevel) -> bool
[src]
fn eq(&self, other: &OptLevel) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for OptLevel
[src]
impl Eq for OptLevel
impl Hash for OptLevel
[src]
impl Hash for OptLevel
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 OptLevel
[src]
impl Display for OptLevel
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 FromStr for OptLevel
[src]
impl FromStr for OptLevel