Struct oxygengine::core::storage::engines::map::MapStorageEngine
source · pub struct MapStorageEngine {
pub map: HashMap<String, Vec<u8, Global>, RandomState>,
}
Fields§
§map: HashMap<String, Vec<u8, Global>, RandomState>
Implementations§
source§impl MapStorageEngine
impl MapStorageEngine
pub fn new( map: HashMap<String, Vec<u8, Global>, RandomState> ) -> MapStorageEngine
Trait Implementations§
source§impl Clone for MapStorageEngine
impl Clone for MapStorageEngine
source§fn clone(&self) -> MapStorageEngine
fn clone(&self) -> MapStorageEngine
Returns a copy 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 moresource§impl Default for MapStorageEngine
impl Default for MapStorageEngine
source§fn default() -> MapStorageEngine
fn default() -> MapStorageEngine
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for MapStorageEngine
impl Send for MapStorageEngine
impl Sync for MapStorageEngine
impl Unpin for MapStorageEngine
impl UnwindSafe for MapStorageEngine
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
§impl<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more