pub struct PersistentMap(/* private fields */);Expand description
Stub PersistentMap for non-runtime builds (e.g. wasm-compile only).
Trait Implementations§
Source§impl Clone for PersistentMap
impl Clone for PersistentMap
Source§fn clone(&self) -> PersistentMap
fn clone(&self) -> PersistentMap
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 moreSource§impl Debug for PersistentMap
impl Debug for PersistentMap
Source§impl MapLike for PersistentMap
Available on non-crate feature runtime only.
impl MapLike for PersistentMap
Available on non-crate feature
runtime only.fn new() -> Self
fn get(&self, key: &u64) -> Option<&(NanValue, NanValue)>
fn insert(&self, key: u64, value: (NanValue, NanValue)) -> Self
fn len(&self) -> usize
fn is_empty(&self) -> bool
fn iter(&self) -> impl Iterator<Item = (&u64, &(NanValue, NanValue))>
fn values(&self) -> impl Iterator<Item = &(NanValue, NanValue)>
Auto Trait Implementations§
impl Freeze for PersistentMap
impl RefUnwindSafe for PersistentMap
impl Send for PersistentMap
impl Sync for PersistentMap
impl Unpin for PersistentMap
impl UnsafeUnpin for PersistentMap
impl UnwindSafe for PersistentMap
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