UndoLog in rustc_data_structures::snapshot_map - Rust (original) (raw)
pub enum UndoLog<K, V> {
Inserted(K),
Overwrite(K, V),
Purged,
}Variants§
Inserted(K)
Overwrite(K, V)
Purged
Trait Implementations§
impl<K: Clone, V: Clone> Clone for UndoLog<K, V>
impl<K, V> Rollback<UndoLog<K, V>> for FxHashMap<K, V>
fn reverse(&mut self, undo: UndoLog<K, V>)
impl<K, V, M, L> Rollback<UndoLog<K, V>> for SnapshotMap<K, V, M, L>
fn reverse(&mut self, undo: UndoLog<K, V>)
Auto Trait Implementations§
impl<K, V> DynSend for UndoLog<K, V>
impl<K, V> DynSync for UndoLog<K, V>
impl<K, V> Freeze for UndoLog<K, V>
impl<K, V> RefUnwindSafe for UndoLog<K, V>
impl<K, V> Send for UndoLog<K, V>
impl<K, V> Sync for UndoLog<K, V>
impl<K, V> Unpin for UndoLog<K, V>
impl<K, V> UnwindSafe for UndoLog<K, V>
Blanket Implementations§
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.