Struct bean_script::modules::Module
source · pub struct Module { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Scope for Module
impl Scope for Module
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_call_scope(&self) -> Option<Rc<RefCell<CallScope>>>
fn get_function_list(&self) -> HashMap<String, Function>
fn as_any(&self) -> &dyn Any
fn as_mut(&mut self) -> &mut dyn Any
fn parent(&self) -> Option<ScopeRef>
fn to_string(&self) -> String
Auto Trait Implementations§
impl Freeze for Module
impl !RefUnwindSafe for Module
impl !Send for Module
impl !Sync for Module
impl Unpin for Module
impl !UnwindSafe for Module
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