pub enum CompileKind {
Script,
IndirectEval,
}Expand description
What to compile.
Variants§
Script
A script ($262.evalScript): its declarations are global.
IndirectEval
Indirect eval code (eval, and the Function constructors’ source):
the root returns the completion value.
Trait Implementations§
Source§impl Clone for CompileKind
impl Clone for CompileKind
impl Copy for CompileKind
Source§impl Debug for CompileKind
impl Debug for CompileKind
impl Eq for CompileKind
Source§impl PartialEq for CompileKind
impl PartialEq for CompileKind
impl StructuralPartialEq for CompileKind
Auto Trait Implementations§
impl Freeze for CompileKind
impl RefUnwindSafe for CompileKind
impl Send for CompileKind
impl Sync for CompileKind
impl Unpin for CompileKind
impl UnsafeUnpin for CompileKind
impl UnwindSafe for CompileKind
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