pub enum DynamicScriptAction {
EvalClassic {
idx: usize,
code: String,
},
EvalModule {
idx: usize,
specifier: String,
code: String,
},
DispatchError {
idx: usize,
},
}Variants§
EvalClassic
クラシック JS を実行する (idx, code)
EvalModule
ES モジュールを実行する (idx, specifier, code)
DispatchError
取得失敗により error イベントを発火する (idx)
Trait Implementations§
Source§impl Clone for DynamicScriptAction
impl Clone for DynamicScriptAction
Source§impl Debug for DynamicScriptAction
impl Debug for DynamicScriptAction
impl Eq for DynamicScriptAction
Source§impl PartialEq for DynamicScriptAction
impl PartialEq for DynamicScriptAction
impl StructuralPartialEq for DynamicScriptAction
Auto Trait Implementations§
impl Freeze for DynamicScriptAction
impl RefUnwindSafe for DynamicScriptAction
impl Send for DynamicScriptAction
impl Sync for DynamicScriptAction
impl Unpin for DynamicScriptAction
impl UnsafeUnpin for DynamicScriptAction
impl UnwindSafe for DynamicScriptAction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.