pub enum OptLevel {
None,
Basic,
Standard,
Aggressive,
}Expand description
Optimization level
Variants§
None
No optimization
Basic
Basic optimizations (constant folding)
Standard
Standard optimizations (basic + algebraic simplifications)
Aggressive
Aggressive optimizations (standard + CSE + DCE)
Trait Implementations§
impl Copy for OptLevel
impl Eq for OptLevel
impl StructuralPartialEq for OptLevel
Auto Trait Implementations§
impl Freeze for OptLevel
impl RefUnwindSafe for OptLevel
impl Send for OptLevel
impl Sync for OptLevel
impl Unpin for OptLevel
impl UnsafeUnpin for OptLevel
impl UnwindSafe for OptLevel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more