Struct bean_script::modules::loader::ModuleWrapper
source · pub struct ModuleWrapper(/* private fields */);
Trait Implementations§
source§impl Debug for ModuleWrapper
impl Debug for ModuleWrapper
source§impl Scope for ModuleWrapper
impl Scope for ModuleWrapper
fn has_function(&self, name: &str) -> bool
fn get_function(&self, name: &str) -> Option<Function>
fn set_function(&mut self, _name: &str, _function: Function)
fn delete_function(&mut self, _name: &str)
fn set_return_value(&mut self, _value: Data)
fn get_function_list(&self) -> HashMap<String, Function>
fn as_any(&self) -> &dyn Any
fn as_mut(&mut self) -> &mut dyn Any
fn set_if_state(&mut self, _state: IfState)
fn parent(&self) -> Option<ScopeRef>
fn get_call_scope(&self) -> Option<Rc<RefCell<CallScope>>>
fn get_file_module(&self) -> Option<ScopeRef>
fn to_string(&self) -> String
Auto Trait Implementations§
impl Freeze for ModuleWrapper
impl !RefUnwindSafe for ModuleWrapper
impl !Send for ModuleWrapper
impl !Sync for ModuleWrapper
impl Unpin for ModuleWrapper
impl !UnwindSafe for ModuleWrapper
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