Struct rustc_data_structures::unify::InPlace [−]
pub struct InPlace<K> where
K: UnifyKey, { values: SnapshotVec<Delegate<K>>, }
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Backing store for an in-place unification table. Not typically used directly.
Fields
values: SnapshotVec<Delegate<K>>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Trait Implementations
impl<K> Clone for InPlace<K> where
K: UnifyKey + Clone,
impl<K> Clone for InPlace<K> where
K: UnifyKey + Clone,
fn clone(&self) -> InPlace<K>
fn clone(&self) -> InPlace<K>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<K> Index<usize> for InPlace<K> where
K: UnifyKey,
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>
fn index(&self, index: usize) -> &VarValue<K>
Performs the indexing (container[index]
) operation.
impl<K> UnificationStore for InPlace<K> where
K: UnifyKey,
impl<K> UnificationStore for InPlace<K> where
K: UnifyKey,
type Key = K
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
type Value = <K as UnifyKey>::Value
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
type Snapshot = Snapshot
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn new() -> InPlace<K>
fn new() -> InPlace<K>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn start_snapshot(&mut self) -> <InPlace<K> as UnificationStore>::Snapshot
fn start_snapshot(&mut self) -> <InPlace<K> as UnificationStore>::Snapshot
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn rollback_to(&mut self, snapshot: <InPlace<K> as UnificationStore>::Snapshot)
fn rollback_to(&mut self, snapshot: <InPlace<K> as UnificationStore>::Snapshot)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn commit(&mut self, snapshot: <InPlace<K> as UnificationStore>::Snapshot)
fn commit(&mut self, snapshot: <InPlace<K> as UnificationStore>::Snapshot)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
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>,
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>,
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn len(&self) -> usize
fn len(&self) -> usize
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn push(&mut self, value: VarValue<<InPlace<K> as UnificationStore>::Key>)
fn push(&mut self, value: VarValue<<InPlace<K> as UnificationStore>::Key>)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn reserve(&mut self, num_new_values: usize)
fn reserve(&mut self, num_new_values: usize)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn update<F>(&mut self, index: usize, op: F) where
F: FnOnce(&mut VarValue<<InPlace<K> as UnificationStore>::Key>),
fn update<F>(&mut self, index: usize, op: F) where
F: FnOnce(&mut VarValue<<InPlace<K> as UnificationStore>::Key>),
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn tag() -> &'static str
fn tag() -> &'static str
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
impl<K> Debug for InPlace<K> where
K: UnifyKey + Debug,
impl<K> Debug for InPlace<K> where
K: UnifyKey + Debug,