Struct v_common_v8::scripts_workplace::ScriptsWorkPlace
source · pub struct ScriptsWorkPlace<'a, T> {
pub scripts: HashMap<String, ScriptInfo<'a, T>>,
pub scripts_order: Vec<String>,
pub backend: Backend,
pub scope: HandleScope<'a, ()>,
pub context: Local<'a, Context>,
}
Fields§
§scripts: HashMap<String, ScriptInfo<'a, T>>
§scripts_order: Vec<String>
§backend: Backend
§scope: HandleScope<'a, ()>
§context: Local<'a, Context>
Implementations§
source§impl<'a, T: Default> ScriptsWorkPlace<'a, T>
impl<'a, T: Default> ScriptsWorkPlace<'a, T>
pub fn load_ext_scripts(&mut self, sys_ticket: &str)
pub fn new(isolate: &'a mut Isolate) -> Self
pub fn add_to_order(&mut self, scr_inf: &ScriptInfo<'_, T>)
Auto Trait Implementations§
impl<'a, T> !RefUnwindSafe for ScriptsWorkPlace<'a, T>
impl<'a, T> !Send for ScriptsWorkPlace<'a, T>
impl<'a, T> !Sync for ScriptsWorkPlace<'a, T>
impl<'a, T> Unpin for ScriptsWorkPlace<'a, T>where T: Unpin,
impl<'a, T> !UnwindSafe for ScriptsWorkPlace<'a, T>
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