[−][src]Struct rustc_data_structures::unify::InPlace
Backing store for an in-place unification table. Not typically used directly.
Trait Implementations
impl<K> Clone for InPlace<K> where
K: UnifyKey + Clone,
[src]
K: UnifyKey + Clone,
fn clone(&self) -> InPlace<K>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<K> Default for InPlace<K> where
K: UnifyKey,
[src]
K: UnifyKey,
impl<K> Index<usize> for InPlace<K> where
K: UnifyKey,
[src]
K: UnifyKey,
type Output = VarValue<K>
The returned type after indexing.
fn index(&self, index: usize) -> &VarValue<K>
[src]
impl<K> UnificationStore for InPlace<K> where
K: UnifyKey,
[src]
K: UnifyKey,
type Key = K
type Value = <K as UnifyKey>::Value
type Snapshot = Snapshot
fn start_snapshot(&mut self) -> <InPlace<K> as UnificationStore>::Snapshot
[src]
fn rollback_to(&mut self, snapshot: <InPlace<K> as UnificationStore>::Snapshot)
[src]
fn commit(&mut self, snapshot: <InPlace<K> as UnificationStore>::Snapshot)
[src]
fn reset_unifications<impl FnMut(u32) -> VarValue>(
&mut self,
value: impl FnMut(u32) -> VarValue
) where
impl FnMut(u32) -> VarValue: FnMut(u32) -> VarValue<<InPlace<K> as UnificationStore>::Key>,
[src]
&mut self,
value: impl FnMut(u32) -> VarValue
) where
impl FnMut(u32) -> VarValue
fn len(&self) -> usize
[src]
fn push(&mut self, value: VarValue<<InPlace<K> as UnificationStore>::Key>)
[src]
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> as UnificationStore>::Key>),
[src]
F: FnOnce(&mut VarValue<<InPlace<K> as UnificationStore>::Key>),
fn tag() -> &'static str
[src]
impl<K> Debug for InPlace<K> where
K: UnifyKey + Debug,
[src]
K: UnifyKey + Debug,
Auto Trait Implementations
impl<K> Send for InPlace<K> where
K: Send,
<K as UnifyKey>::Value: Send,
K: Send,
<K as UnifyKey>::Value: Send,
impl<K> Sync for InPlace<K> where
K: Sync,
<K as UnifyKey>::Value: Sync,
K: Sync,
<K as UnifyKey>::Value: Sync,
Blanket Implementations
impl<T> Erased for T
[src]
impl<T> Send for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Sync for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
ⓘImportant traits for &'_ mut Ifn borrow_mut(&mut self) -> &mut T
[src]
ⓘImportant traits for &'_ mut I
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.