[−][src]Struct rustc_ap_rustc_data_structures::unify::InPlace
Backing store for an in-place unification table. Not typically used directly.
Trait Implementations
impl<K, V, L> Clone for InPlace<K, V, L> where
K: UnifyKey + Clone,
L: Clone,
V: VecLike<Delegate<K>> + Clone,
[src]
K: UnifyKey + Clone,
L: Clone,
V: VecLike<Delegate<K>> + Clone,
impl<K, V, L> Debug for InPlace<K, V, L> where
K: UnifyKey + Debug,
L: Debug,
V: VecLike<Delegate<K>> + Debug,
[src]
K: UnifyKey + Debug,
L: Debug,
V: VecLike<Delegate<K>> + Debug,
impl<K, V, L> Default for InPlace<K, V, L> where
K: UnifyKey,
L: Default,
V: VecLike<Delegate<K>> + Default,
[src]
K: UnifyKey,
L: Default,
V: VecLike<Delegate<K>> + Default,
impl<K, V, L> Index<usize> for InPlace<K, V, L> where
K: UnifyKey,
V: VecLike<Delegate<K>>,
[src]
K: UnifyKey,
V: VecLike<Delegate<K>>,
type Output = VarValue<K>
The returned type after indexing.
fn index(&self, index: usize) -> &VarValue<K>
[src]
impl<K, V, L> UnificationStore for InPlace<K, V, L> where
K: UnifyKey,
L: Snapshots<UndoLog<Delegate<K>>>,
V: VecLike<Delegate<K>>,
[src]
K: UnifyKey,
L: Snapshots<UndoLog<Delegate<K>>>,
V: VecLike<Delegate<K>>,
type Snapshot = Snapshot<<L as Snapshots<UndoLog<Delegate<K>>>>::Snapshot>
fn start_snapshot(&mut self) -> <InPlace<K, V, L> as UnificationStore>::Snapshot
[src]
fn rollback_to(
&mut self,
snapshot: <InPlace<K, V, L> as UnificationStore>::Snapshot
)
[src]
&mut self,
snapshot: <InPlace<K, V, L> as UnificationStore>::Snapshot
)
fn commit(&mut self, snapshot: <InPlace<K, V, L> as UnificationStore>::Snapshot)
[src]
fn values_since_snapshot(
&self,
snapshot: &<InPlace<K, V, L> as UnificationStore>::Snapshot
) -> Range<usize>
[src]
&self,
snapshot: &<InPlace<K, V, L> as UnificationStore>::Snapshot
) -> Range<usize>
impl<K, V, L> UnificationStoreBase for InPlace<K, V, L> where
K: UnifyKey,
V: VecLike<Delegate<K>>,
[src]
K: UnifyKey,
V: VecLike<Delegate<K>>,
type Key = K
type Value = <K as UnifyKey>::Value
fn len(&self) -> usize
[src]
fn tag() -> &'static str
[src]
impl<K, V, L> UnificationStoreMut for InPlace<K, V, L> where
K: UnifyKey,
L: UndoLogs<UndoLog<Delegate<K>>>,
V: VecLike<Delegate<K>>,
[src]
K: UnifyKey,
L: UndoLogs<UndoLog<Delegate<K>>>,
V: VecLike<Delegate<K>>,
fn reset_unifications(
&mut self,
value: impl FnMut(u32) -> VarValue<<InPlace<K, V, L> as UnificationStoreBase>::Key>
)
[src]
&mut self,
value: impl FnMut(u32) -> VarValue<<InPlace<K, V, L> as UnificationStoreBase>::Key>
)
fn push(
&mut self,
value: VarValue<<InPlace<K, V, L> as UnificationStoreBase>::Key>
)
[src]
&mut self,
value: VarValue<<InPlace<K, V, L> as UnificationStoreBase>::Key>
)
fn reserve(&mut self, num_new_values: usize)
[src]
fn update<F>(&mut self, index: usize, op: F) where
F: FnOnce(&mut VarValue<<InPlace<K, V, L> as UnificationStoreBase>::Key>),
[src]
F: FnOnce(&mut VarValue<<InPlace<K, V, L> as UnificationStoreBase>::Key>),
Auto Trait Implementations
impl<K, V, L> RefUnwindSafe for InPlace<K, V, L> where
K: RefUnwindSafe,
L: RefUnwindSafe,
V: RefUnwindSafe,
K: RefUnwindSafe,
L: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V, L> Send for InPlace<K, V, L> where
K: Send,
L: Send,
V: Send,
K: Send,
L: Send,
V: Send,
impl<K, V, L> Sync for InPlace<K, V, L> where
K: Sync,
L: Sync,
V: Sync,
K: Sync,
L: Sync,
V: Sync,
impl<K, V, L> Unpin for InPlace<K, V, L> where
K: Unpin,
L: Unpin,
V: Unpin,
K: Unpin,
L: Unpin,
V: Unpin,
impl<K, V, L> UnwindSafe for InPlace<K, V, L> where
K: UnwindSafe,
L: UnwindSafe,
V: UnwindSafe,
K: UnwindSafe,
L: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Erased for T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<E> SpecializationError for E
[src]
default fn not_found<S, T>(
trait_name: &'static str,
method_name: &'static str
) -> E where
T: ?Sized,
[src]
trait_name: &'static str,
method_name: &'static str
) -> E where
T: ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,