pub enum JsCompiledValue {
Function(JsCompiledFunction),
Module(JsModule),
}Expand description
The result of loading QuickJs bytecode. Either a function or a module.
Variants§
Function(JsCompiledFunction)
Module(JsModule)
Auto Trait Implementations§
impl Freeze for JsCompiledValue
impl RefUnwindSafe for JsCompiledValue
impl Send for JsCompiledValue
impl Sync for JsCompiledValue
impl Unpin for JsCompiledValue
impl UnsafeUnpin for JsCompiledValue
impl UnwindSafe for JsCompiledValue
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