[][src]Enum optimization::Level

pub enum Level {
    None,
    Moderate,
    Aggressive,
    Custom(Vec<Optimization>),
}

These are predefined sequences of optimizations (in clang and gcc these are called -O1, -O3, -Os and so forth).

Variants

This level compiles the fastest and generates the most debuggable code since it does not perform any optimization.

Moderate level of optimization which enables most optimizations.

Enables optimizations that take longer to perform or that may generate larger code in an attempt to make the program run faster.

A user-defined sequence of optimizations

Methods

impl Level
[src]

run the list of optimizations defined by the optimization level on the given program

Trait Implementations

impl Clone for Level
[src]

Performs copy-assignment from source. Read more

impl Default for Level
[src]

impl Debug for Level
[src]

Auto Trait Implementations

impl Send for Level

impl Sync for Level

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any
[src]

Get the TypeId of this object.

impl<T> IntoCollection for T
[src]

impl<T, I> AsResult for T where
    I: Input
[src]