pub struct InPlace<K: UnifyKey, V: VecLike<Delegate<K>> = Vec<VarValue<K>>, L = VecLog<UndoLog<Delegate<K>>>> { /* private fields */ }
Expand description
Backing store for an in-place unification table. Not typically used directly.
Trait Implementations§
source§impl<K: Clone + UnifyKey, V: Clone + VecLike<Delegate<K>>, L: Clone> Clone for InPlace<K, V, L>
impl<K: Clone + UnifyKey, V: Clone + VecLike<Delegate<K>>, L: Clone> Clone for InPlace<K, V, L>
source§impl<K: Debug + UnifyKey, V: Debug + VecLike<Delegate<K>>, L: Debug> Debug for InPlace<K, V, L>
impl<K: Debug + UnifyKey, V: Debug + VecLike<Delegate<K>>, L: Debug> Debug for InPlace<K, V, L>
source§impl<K: UnifyKey, V: VecLike<Delegate<K>> + Default, L: Default> Default for InPlace<K, V, L>
impl<K: UnifyKey, V: VecLike<Delegate<K>> + Default, L: Default> Default for InPlace<K, V, L>
source§impl<K, V, L> UnificationStore for InPlace<K, V, L>where
K: UnifyKey,
V: VecLike<Delegate<K>>,
L: Snapshots<UndoLog<Delegate<K>>>,
impl<K, V, L> UnificationStore for InPlace<K, V, L>where K: UnifyKey, V: VecLike<Delegate<K>>, L: Snapshots<UndoLog<Delegate<K>>>,
type Snapshot = Snapshot<<L as Snapshots<UndoLog<Delegate<K>>>>::Snapshot>
fn start_snapshot(&mut self) -> Self::Snapshot
fn rollback_to(&mut self, snapshot: Self::Snapshot)
fn commit(&mut self, snapshot: Self::Snapshot)
fn values_since_snapshot(&self, snapshot: &Self::Snapshot) -> Range<usize>
source§impl<K, V, L> UnificationStoreBase for InPlace<K, V, L>where
K: UnifyKey,
V: VecLike<Delegate<K>>,
impl<K, V, L> UnificationStoreBase for InPlace<K, V, L>where K: UnifyKey, V: VecLike<Delegate<K>>,
Auto Trait Implementations§
impl<K, V, L> RefUnwindSafe for InPlace<K, V, L>where K: RefUnwindSafe, L: RefUnwindSafe, V: RefUnwindSafe,
impl<K, V, L> Send for InPlace<K, V, L>where K: Send, L: Send, V: Send,
impl<K, V, L> Sync for InPlace<K, V, L>where K: Sync, L: Sync, V: Sync,
impl<K, V, L> Unpin for InPlace<K, V, L>where K: Unpin, L: Unpin, V: Unpin,
impl<K, V, L> UnwindSafe for InPlace<K, V, L>where K: UnwindSafe, L: UnwindSafe, V: UnwindSafe,
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