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