pub struct BlockScope {
pub return_value: Data,
pub if_state: IfState,
/* private fields */
}
Fields§
§return_value: Data
§if_state: IfState
Implementations§
Trait Implementations§
Source§impl Debug for BlockScope
impl Debug for BlockScope
Source§impl Scope for BlockScope
impl Scope for BlockScope
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 set_return_value(&mut self, value: Data)
fn get_function_list(&self) -> HashMap<String, Function>
fn get_if_state(&self) -> Option<IfState>
fn as_any(&self) -> &dyn Any
fn as_mut(&mut self) -> &mut dyn Any
fn set_if_state(&mut self, state: IfState)
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 BlockScope
impl !RefUnwindSafe for BlockScope
impl !Send for BlockScope
impl !Sync for BlockScope
impl Unpin for BlockScope
impl !UnwindSafe for BlockScope
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