pub enum CompileLevel {
Phase1,
Phase2,
Phase3,
}Expand description
The maximum compilation level a node supports.
Variants§
Phase1
Runtime interpreter: dyn PolydatNode + Value enum.
Phase2
Compiled closure: Box<dyn Fn(&[u64], &mut [u64])>.
Phase3
JIT native code via Cranelift.
Trait Implementations§
Source§impl Clone for CompileLevel
impl Clone for CompileLevel
Source§fn clone(&self) -> CompileLevel
fn clone(&self) -> CompileLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CompileLevel
Source§impl Debug for CompileLevel
impl Debug for CompileLevel
impl Eq for CompileLevel
Source§impl PartialEq for CompileLevel
impl PartialEq for CompileLevel
impl StructuralPartialEq for CompileLevel
Auto Trait Implementations§
impl Freeze for CompileLevel
impl RefUnwindSafe for CompileLevel
impl Send for CompileLevel
impl Sync for CompileLevel
impl Unpin for CompileLevel
impl UnsafeUnpin for CompileLevel
impl UnwindSafe for CompileLevel
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.