Struct rustc_driver::pretty::IdentifiedAnnotation [−][src]
🔬 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
sess: &'hir Session
🔬 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?
hir_map: Option<Map<'hir>>
🔬 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<'hir> PrinterSupport for IdentifiedAnnotation<'hir>[src]
impl<'hir> PrinterSupport for IdentifiedAnnotation<'hir>fn sess<'a>(&'a self) -> &'a Session[src]
fn sess<'a>(&'a self) -> &'a Session🔬 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?
Provides a uniform interface for re-extracting a reference to a Session from a value that now owns it. Read more
fn pp_ann<'a>(&'a self) -> &'a PpAnn[src]
fn pp_ann<'a>(&'a self) -> &'a PpAnn🔬 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?
Produces the pretty-print annotation object. Read more
impl<'hir> PpAnn for IdentifiedAnnotation<'hir>[src]
impl<'hir> PpAnn for IdentifiedAnnotation<'hir>fn pre(&self, s: &mut State, node: AnnNode) -> Result<()>[src]
fn pre(&self, s: &mut State, node: AnnNode) -> Result<()>🔬 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 post(&self, s: &mut State, node: AnnNode) -> Result<()>[src]
fn post(&self, s: &mut State, node: AnnNode) -> Result<()>🔬 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<'hir> HirPrinterSupport<'hir> for IdentifiedAnnotation<'hir>[src]
impl<'hir> HirPrinterSupport<'hir> for IdentifiedAnnotation<'hir>fn sess<'a>(&'a self) -> &'a Session[src]
fn sess<'a>(&'a self) -> &'a Session🔬 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?
Provides a uniform interface for re-extracting a reference to a Session from a value that now owns it. Read more
fn hir_map<'a>(&'a self) -> Option<&'a Map<'hir>>[src]
fn hir_map<'a>(&'a self) -> Option<&'a Map<'hir>>🔬 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?
Provides a uniform interface for re-extracting a reference to an hir_map::Map from a value that now owns it. Read more
fn pp_ann<'a>(&'a self) -> &'a PpAnn[src]
fn pp_ann<'a>(&'a self) -> &'a PpAnn🔬 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?
Produces the pretty-print annotation object. Read more
fn node_path(&self, id: NodeId) -> Option<String>[src]
fn node_path(&self, id: NodeId) -> Option<String>🔬 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?
Computes an user-readable representation of a path, if possible.
impl<'hir> PpAnn for IdentifiedAnnotation<'hir>[src]
impl<'hir> PpAnn for IdentifiedAnnotation<'hir>fn nested(&self, state: &mut State, nested: Nested) -> Result<()>[src]
fn nested(&self, state: &mut State, nested: Nested) -> Result<()>🔬 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 pre(&self, s: &mut State, node: AnnNode) -> Result<()>[src]
fn pre(&self, s: &mut State, node: AnnNode) -> Result<()>🔬 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 post(&self, s: &mut State, node: AnnNode) -> Result<()>[src]
fn post(&self, s: &mut State, node: AnnNode) -> Result<()>🔬 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 try_fetch_item(&self, NodeId) -> Option<&Item>[src]
fn try_fetch_item(&self, NodeId) -> Option<&Item>🔬 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?
Auto Trait Implementations
impl<'hir> !Send for IdentifiedAnnotation<'hir>
impl<'hir> !Send for IdentifiedAnnotation<'hir>impl<'hir> !Sync for IdentifiedAnnotation<'hir>
impl<'hir> !Sync for IdentifiedAnnotation<'hir>