Enum shaderc::OptimizationLevel [−][src]
#[repr(C)]pub enum OptimizationLevel { Zero, Size, Performance, }
Optimization level.
Variants
Zero
No optimization
Size
Optimize towards reducing code size
Performance
Trait Implementations
impl Clone for OptimizationLevel
[src]
impl Clone for OptimizationLevel
fn clone(&self) -> OptimizationLevel
[src]
fn clone(&self) -> OptimizationLevel
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 Copy for OptimizationLevel
[src]
impl Copy for OptimizationLevel
impl Debug for OptimizationLevel
[src]
impl Debug for OptimizationLevel
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 PartialEq for OptimizationLevel
[src]
impl PartialEq for OptimizationLevel
fn eq(&self, other: &OptimizationLevel) -> bool
[src]
fn eq(&self, other: &OptimizationLevel) -> 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 OptimizationLevel
[src]
impl Eq for OptimizationLevel
Auto Trait Implementations
impl Send for OptimizationLevel
impl Send for OptimizationLevel
impl Sync for OptimizationLevel
impl Sync for OptimizationLevel