pub struct CallScope { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Scope for CallScope
impl Scope for CallScope
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 parent(&self) -> Option<ScopeRef>
fn get_call_scope(&self) -> Option<Rc<RefCell<CallScope>>>
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 get_file_module(&self) -> Option<ScopeRef>
fn get_if_state(&self) -> Option<IfState>
fn to_string(&self) -> String
Auto Trait Implementations§
impl Freeze for CallScope
impl !RefUnwindSafe for CallScope
impl !Send for CallScope
impl !Sync for CallScope
impl Unpin for CallScope
impl !UnwindSafe for CallScope
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