Struct rustc_driver::pretty::NoAnn [−][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 NoAnn<'hir>[src]
impl<'hir> PrinterSupport for NoAnn<'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> HirPrinterSupport<'hir> for NoAnn<'hir>[src]
impl<'hir> HirPrinterSupport<'hir> for NoAnn<'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 NoAnn<'hir>[src]
impl<'hir> PpAnn for NoAnn<'hir>fn pre(&self, _state: &mut State, _node: AnnNode) -> Result<(), Error>[src]
fn pre(&self, _state: &mut State, _node: AnnNode) -> Result<(), Error>🔬 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, _state: &mut State, _node: AnnNode) -> Result<(), Error>[src]
fn post(&self, _state: &mut State, _node: AnnNode) -> Result<(), Error>🔬 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> PpAnn for NoAnn<'hir>[src]
impl<'hir> PpAnn for NoAnn<'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, _state: &mut State, _node: AnnNode) -> Result<(), Error>[src]
fn pre(&self, _state: &mut State, _node: AnnNode) -> Result<(), Error>🔬 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, _state: &mut State, _node: AnnNode) -> Result<(), Error>[src]
fn post(&self, _state: &mut State, _node: AnnNode) -> Result<(), Error>🔬 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?