pub type SnapshotMapRef<'a, K, V, L> = SnapshotMap<K, V, &'a mut FxHashMap<K, V>, &'a mut L>;
Aliased Type§
struct SnapshotMapRef<'a, K, V, L> {
map: &'a mut HashMap<K, V, FxBuildHasher>,
undo_log: &'a mut L,
_marker: PhantomData<(K, V)>,
}
Fields§
§map: &'a mut HashMap<K, V, FxBuildHasher>
§undo_log: &'a mut L
§_marker: PhantomData<(K, V)>
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes
Implementations
Source§impl<K, V, M, L> SnapshotMap<K, V, M, L>
impl<K, V, M, L> SnapshotMap<K, V, M, L>
pub fn with_log<L2>(&mut self, undo_log: L2) -> SnapshotMap<K, V, &mut M, L2>
Source§impl<K, V, M, L> SnapshotMap<K, V, M, L>
impl<K, V, M, L> SnapshotMap<K, V, M, L>
Trait Implementations
Source§impl<K: Clone, V: Clone, M: Clone, L: Clone> Clone for SnapshotMap<K, V, M, L>
impl<K: Clone, V: Clone, M: Clone, L: Clone> Clone for SnapshotMap<K, V, M, L>
Source§fn clone(&self) -> SnapshotMap<K, V, M, L>
fn clone(&self) -> SnapshotMap<K, V, M, L>
Returns a copy of the value. Read more
Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more