pub enum OptimizationLevel {
O0,
O1,
O2,
O3,
Os,
Oz,
}Expand description
The various possible optimization levels
Variants§
Trait Implementations§
source§impl Clone for OptimizationLevel
impl Clone for OptimizationLevel
source§fn clone(&self) -> OptimizationLevel
fn clone(&self) -> OptimizationLevel
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for OptimizationLevel
impl Debug for OptimizationLevel
source§impl Display for OptimizationLevel
impl Display for OptimizationLevel
source§impl Hash for OptimizationLevel
impl Hash for OptimizationLevel
source§impl Ord for OptimizationLevel
impl Ord for OptimizationLevel
source§fn cmp(&self, other: &OptimizationLevel) -> Ordering
fn cmp(&self, other: &OptimizationLevel) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<OptimizationLevel> for OptimizationLevel
impl PartialEq<OptimizationLevel> for OptimizationLevel
source§fn eq(&self, other: &OptimizationLevel) -> bool
fn eq(&self, other: &OptimizationLevel) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<OptimizationLevel> for OptimizationLevel
impl PartialOrd<OptimizationLevel> for OptimizationLevel
source§fn partial_cmp(&self, other: &OptimizationLevel) -> Option<Ordering>
fn partial_cmp(&self, other: &OptimizationLevel) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more