pub enum EvaluationMode {
Full,
Monomorphization,
Check,
}
Expand description
Specifies how code should be evaluated, e.g. if a context is part of normal control flow Or if a context should just be verified to be valid
Variants§
Full
Normal evaluation
Monomorphization
Function monomorphization evaluation: Keeps the object mapping
Check
Does not change any meaningful state. Used to just check if code is semantically valid
Trait Implementations§
source§impl Clone for EvaluationMode
impl Clone for EvaluationMode
source§fn clone(&self) -> EvaluationMode
fn clone(&self) -> EvaluationMode
Returns a copy 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 EvaluationMode
impl Debug for EvaluationMode
impl Copy for EvaluationMode
Auto Trait Implementations§
impl RefUnwindSafe for EvaluationMode
impl Send for EvaluationMode
impl Sync for EvaluationMode
impl Unpin for EvaluationMode
impl UnwindSafe for EvaluationMode
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