Struct rustc::traits::SelectionCache [−][src]
pub struct SelectionCache<'tcx> { hashmap: RefCell<FxHashMap<TraitRef<'tcx>, WithDepNode<SelectionResult<'tcx, SelectionCandidate<'tcx>>>>>, }
🔬 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?
Fields
hashmap: RefCell<FxHashMap<TraitRef<'tcx>, WithDepNode<SelectionResult<'tcx, SelectionCandidate<'tcx>>>>>
🔬 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?
Methods
impl<'tcx> SelectionCache<'tcx>
[src]
impl<'tcx> SelectionCache<'tcx>
pub fn new() -> SelectionCache<'tcx>
[src]
pub fn new() -> SelectionCache<'tcx>
🔬 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?
pub fn clear(&self)
[src]
pub fn clear(&self)
🔬 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<'tcx> Clone for SelectionCache<'tcx>
[src]
impl<'tcx> Clone for SelectionCache<'tcx>
fn clone(&self) -> SelectionCache<'tcx>
[src]
fn clone(&self) -> SelectionCache<'tcx>
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl<'tcx> !Send for SelectionCache<'tcx>
impl<'tcx> !Send for SelectionCache<'tcx>
impl<'tcx> !Sync for SelectionCache<'tcx>
impl<'tcx> !Sync for SelectionCache<'tcx>