pub struct CompilationFlags {
pub enable_vectorization: bool,
pub enable_parallelization: bool,
pub enable_loop_unrolling: bool,
pub enable_inlining: bool,
pub enable_dead_code_elimination: bool,
pub enable_constant_folding: bool,
pub enable_instruction_selection: bool,
pub enable_register_allocation: bool,
pub custom_flags: Vec<String>,
}Expand description
Compilation flags and options
Fields§
§enable_vectorization: boolEnable vectorization
enable_parallelization: boolEnable parallelization
enable_loop_unrolling: boolEnable loop unrolling
enable_inlining: boolEnable function inlining
enable_dead_code_elimination: boolEnable dead code elimination
enable_constant_folding: boolEnable constant folding
enable_instruction_selection: boolEnable instruction selection optimization
enable_register_allocation: boolEnable register allocation optimization
custom_flags: Vec<String>Custom compilation flags
Trait Implementations§
Source§impl Clone for CompilationFlags
impl Clone for CompilationFlags
Source§fn clone(&self) -> CompilationFlags
fn clone(&self) -> CompilationFlags
Returns a duplicate 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 CompilationFlags
impl Debug for CompilationFlags
Source§impl Default for CompilationFlags
impl Default for CompilationFlags
Source§impl<'de> Deserialize<'de> for CompilationFlags
impl<'de> Deserialize<'de> for CompilationFlags
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CompilationFlags
impl PartialEq for CompilationFlags
Source§impl Serialize for CompilationFlags
impl Serialize for CompilationFlags
impl StructuralPartialEq for CompilationFlags
Auto Trait Implementations§
impl Freeze for CompilationFlags
impl RefUnwindSafe for CompilationFlags
impl Send for CompilationFlags
impl Sync for CompilationFlags
impl Unpin for CompilationFlags
impl UnsafeUnpin for CompilationFlags
impl UnwindSafe for CompilationFlags
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more