pub struct HashMemory { /* private fields */ }Implementations§
Source§impl HashMemory
impl HashMemory
pub fn new() -> Self
pub fn remove(&mut self, key: String) -> Option<Object>
pub fn insert(&mut self, key: String, val: Object)
pub fn insert_glob(&mut self, key: String, val: Object)
pub fn new_hash(&mut self)
pub fn del_hash(&mut self) -> Option<HashMap<String, Object>>
pub fn get(&mut self, key: &String) -> Option<&Object>
pub fn get_mut(&mut self, key: &String) -> Option<&mut Object>
pub fn into_keys(&mut self) -> Vec<String>
Trait Implementations§
Source§impl Clone for HashMemory
impl Clone for HashMemory
Source§fn clone(&self) -> HashMemory
fn clone(&self) -> HashMemory
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HashMemory
impl RefUnwindSafe for HashMemory
impl Send for HashMemory
impl Sync for HashMemory
impl Unpin for HashMemory
impl UnwindSafe for HashMemory
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