[][src]Trait rustc_hir_pretty::PpAnn

pub trait PpAnn {
    fn nested(&self, _state: &mut State<'_>, _nested: Nested) { ... }
fn pre(&self, _state: &mut State<'_>, _node: AnnNode<'_>) { ... }
fn post(&self, _state: &mut State<'_>, _node: AnnNode<'_>) { ... }
fn try_fetch_item(&self, _: HirId) -> Option<&Item<'_>> { ... } }

Provided methods

fn nested(&self, _state: &mut State<'_>, _nested: Nested)

fn pre(&self, _state: &mut State<'_>, _node: AnnNode<'_>)

fn post(&self, _state: &mut State<'_>, _node: AnnNode<'_>)

fn try_fetch_item(&self, _: HirId) -> Option<&Item<'_>>

Loading content...

Implementations on Foreign Types

impl<'_> PpAnn for Crate<'_>[src]

impl<'_, '_> PpAnn for &'_ dyn Map<'_>[src]

Identical to the PpAnn implementation for hir::Crate, except it avoids creating a dependency on the whole crate.

Loading content...

Implementors

impl PpAnn for NoAnn[src]

Loading content...