pub enum CustomModuleEvaluationKind {
Synthetic(Global<Value>),
ComputedAndSynthetic(FastString, Global<Value>, ModuleType),
}
Variants§
Synthetic(Global<Value>)
This evaluation results in a single, “synthetic” module.
ComputedAndSynthetic(FastString, Global<Value>, ModuleType)
This evaluation results in creation of two modules:
- a “computed” module - some JavaScript that most likely is rendered and
uses the “synthetic” module - this module’s ID is returned from
[
new_module
] call. - a “synthetic” module - a kind of a helper module that abstracts the source of JS objects - this module is set up first.
Auto Trait Implementations§
impl !RefUnwindSafe for CustomModuleEvaluationKind
impl !Send for CustomModuleEvaluationKind
impl !Sync for CustomModuleEvaluationKind
impl Unpin for CustomModuleEvaluationKind
impl !UnwindSafe for CustomModuleEvaluationKind
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