Trait rustc_hir_pretty::PpAnn
source · pub trait PpAnn {
// 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<'_>) { ... }
}
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<'_>)
Implementations on Foreign Types§
source§impl PpAnn for &dyn Map<'_>
impl PpAnn for &dyn Map<'_>
Identical to the PpAnn
implementation for hir::Crate
,
except it avoids creating a dependency on the whole crate.