Struct ena::unify::InPlace
[−]
[src]
pub struct InPlace<K: UnifyKey> { /* fields omitted */ }
Backing store for an in-place unification table. Not typically used directly.
Trait Implementations
impl<K: Clone + UnifyKey> Clone for InPlace<K>
[src]
fn clone(&self) -> InPlace<K>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<K: UnifyKey> UnificationStore for InPlace<K>
[src]
type Key = K
type Value = K::Value
type Snapshot = Snapshot
fn new() -> Self
[src]
fn start_snapshot(&mut self) -> Self::Snapshot
[src]
fn rollback_to(&mut self, snapshot: Self::Snapshot)
[src]
fn commit(&mut self, snapshot: Self::Snapshot)
[src]
fn len(&self) -> usize
[src]
fn push(&mut self, value: VarValue<Self::Key>)
[src]
fn update<F>(&mut self, index: usize, op: F) where
F: FnOnce(&mut VarValue<Self::Key>),
[src]
F: FnOnce(&mut VarValue<Self::Key>),
fn tag() -> &'static str
[src]
impl<K> Index<usize> for InPlace<K> where
K: UnifyKey,
[src]
K: UnifyKey,