[−][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> Clone for InPlace<K> where
K: UnifyKey + Clone,
[src]
K: UnifyKey + Clone,
impl<K> Debug for InPlace<K> where
K: UnifyKey + Debug,
[src]
K: UnifyKey + Debug,
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]
ⓘImportant traits for Range<A>fn values_since_snapshot(
&self,
snapshot: &<InPlace<K> as UnificationStore>::Snapshot
) -> Range<usize>
[src]
ⓘImportant traits for Range<A>
&self,
snapshot: &<InPlace<K> as UnificationStore>::Snapshot
) -> Range<usize>
fn reset_unifications(
&mut self,
value: impl FnMut(u32) -> VarValue<<InPlace<K> as UnificationStore>::Key>
)
[src]
&mut self,
value: impl FnMut(u32) -> VarValue<<InPlace<K> as UnificationStore>::Key>
)
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]
Auto Trait Implementations
impl<K> RefUnwindSafe for InPlace<K> where
K: RefUnwindSafe,
<K as UnifyKey>::Value: RefUnwindSafe,
K: RefUnwindSafe,
<K as UnifyKey>::Value: RefUnwindSafe,
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,
impl<K> Unpin for InPlace<K> where
K: Unpin,
<K as UnifyKey>::Value: Unpin,
K: Unpin,
<K as UnifyKey>::Value: Unpin,
impl<K> UnwindSafe for InPlace<K> where
K: UnwindSafe,
<K as UnifyKey>::Value: UnwindSafe,
K: UnwindSafe,
<K as UnifyKey>::Value: 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,
ⓘImportant traits for &'_ mut Ifn borrow_mut(&mut self) -> &mut T
[src]
ⓘImportant traits for &'_ mut I
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>,