Enum cranelift_codegen::settings::OptLevel [−][src]
pub enum OptLevel {
Default,
Best,
Fastest,
}Values for shared.opt_level.
Variants
Defaultdefault.
Bestbest.
Fastestfastest.
Trait Implementations
impl Debug for OptLevel[src]
impl Debug for OptLevelfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for OptLevel[src]
impl Copy for OptLevelimpl Clone for OptLevel[src]
impl Clone for OptLevelfn clone(&self) -> OptLevel[src]
fn clone(&self) -> OptLevelReturns 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 OptLevelfn eq(&self, other: &OptLevel) -> bool[src]
fn eq(&self, other: &OptLevel) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for OptLevel[src]
impl Eq for OptLevelimpl Hash for OptLevel[src]
impl Hash for OptLevelfn 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 OptLevelfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl FromStr for OptLevel[src]
impl FromStr for OptLevel