Struct rustc_driver::pretty::HygieneAnnotation [−][src]
struct HygieneAnnotation<'a> {
sess: &'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?
Fields
sess: &'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?
Trait Implementations
impl<'a> PrinterSupport for HygieneAnnotation<'a>[src]
impl<'a> PrinterSupport for HygieneAnnotation<'a>fn sess(&self) -> &Session[src]
fn sess(&self) -> &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(&self) -> &PpAnn[src]
fn pp_ann(&self) -> &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<'a> PpAnn for HygieneAnnotation<'a>[src]
impl<'a> PpAnn for HygieneAnnotation<'a>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 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?
Auto Trait Implementations
impl<'a> !Send for HygieneAnnotation<'a>
impl<'a> !Send for HygieneAnnotation<'a>impl<'a> !Sync for HygieneAnnotation<'a>
impl<'a> !Sync for HygieneAnnotation<'a>