Struct rustc_metadata::index_builder::FromId [−][src]
pub struct FromId<T>(pub NodeId, pub T);
🔬 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?
Newtype that can be used to package up misc data extracted from a
HIR node that doesn't carry its own id. This will allow an
arbitrary T
to be passed in, but register a read on the given
node-id.
Trait Implementations
impl<T> DepGraphRead for FromId<T>
[src]
impl<T> DepGraphRead for FromId<T>