pub enum CompilerType {
ByteCode,
Native,
Amd,
AmdAVX,
AmdSSE,
Arm,
RiscV,
Debug,
}Variants§
ByteCode
generates bytecode (interpreter).
Native
generates code for the detected CPU (default)
Amd
generates x86-64 (AMD64) code.
AmdAVX
generates AVX code for x86-64 architecture.
AmdSSE
generates SSE2 code for x86-64 architecture.
Arm
generates aarch64 (ARM64) code.
RiscV
generates riscv64 (RISC V) code.
Debug
debug mode, generates both bytecode and native codes and compares the outputs.
Trait Implementations§
Source§impl Clone for CompilerType
impl Clone for CompilerType
Source§fn clone(&self) -> CompilerType
fn clone(&self) -> CompilerType
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 CompilerType
impl Debug for CompilerType
Source§impl PartialEq for CompilerType
impl PartialEq for CompilerType
impl Copy for CompilerType
impl StructuralPartialEq for CompilerType
Auto Trait Implementations§
impl Freeze for CompilerType
impl RefUnwindSafe for CompilerType
impl Send for CompilerType
impl Sync for CompilerType
impl Unpin for CompilerType
impl UnsafeUnpin for CompilerType
impl UnwindSafe for CompilerType
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