[−][src]Struct rustc_data_structures::unify::InPlace
Backing store for an in-place unification table. Not typically used directly.
Trait Implementations
impl<K> Debug for InPlace<K> where
K: UnifyKey + Debug,
[src]
impl<K> Debug for InPlace<K> where
K: UnifyKey + Debug,
impl<K> Clone for InPlace<K> where
K: UnifyKey + Clone,
[src]
impl<K> Clone for InPlace<K> where
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> Index<usize> for InPlace<K> where
K: UnifyKey,
[src]
impl<K> Index<usize> for InPlace<K> where
K: UnifyKey,
type Output = VarValue<K>
The returned type after indexing.
fn index(&self, index: usize) -> &VarValue<K> | [src] |
impl<K> Default for InPlace<K> where
K: UnifyKey,
[src]
impl<K> Default for InPlace<K> where
K: UnifyKey,
impl<K> UnificationStore for InPlace<K> where
K: UnifyKey,
[src]
impl<K> UnificationStore for InPlace<K> where
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 | [src] |
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 | [src] |
fn tag() -> &'static str | [src] |
Auto Trait Implementations
impl<K> Send for InPlace<K> where
K: Send,
<K as UnifyKey>::Value: Send,
impl<K> Send for InPlace<K> where
K: Send,
<K as UnifyKey>::Value: Send,
impl<K> Sync for InPlace<K> where
K: Sync,
<K as UnifyKey>::Value: Sync,
impl<K> Sync for InPlace<K> where
K: Sync,
<K as UnifyKey>::Value: Sync,
Blanket Implementations
impl<T> Erased for T
[src]
impl<T> Erased for T
impl<T> Send for T where
T: ?Sized,
[src]
impl<T> Send for T where
T: ?Sized,
impl<T> Sync for T where
T: ?Sized,
[src]
impl<T> Sync for T where
T: ?Sized,
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
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]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
ⓘImportant traits for &'_ mut I
ⓘImportant traits for &'_ mut I
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<E> SpecializationError for E
[src]
impl<E> SpecializationError for E
impl<T> Erased for T
impl<T> Erased for T