Struct bean_script::modules::collections::Map
source · pub struct Map {
pub hash: HashMap<StaticData, Data>,
/* private fields */
}
Fields§
§hash: HashMap<StaticData, Data>
Implementations§
Trait Implementations§
source§impl Scope for Map
impl Scope for Map
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 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 parent(&self) -> Option<ScopeRef>
fn to_string(&self) -> String
Auto Trait Implementations§
impl Freeze for Map
impl !RefUnwindSafe for Map
impl !Send for Map
impl !Sync for Map
impl Unpin for Map
impl !UnwindSafe for Map
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