trait PrinterSupport: PpAnn {
    // Required methods
    fn sess(&self) -> &Session;
    fn pp_ann(&self) -> &dyn PpAnn;
}

Required Methods§

source

fn sess(&self) -> &Session

Provides a uniform interface for re-extracting a reference to a Session from a value that now owns it.

source

fn pp_ann(&self) -> &dyn PpAnn

Produces the pretty-print annotation object.

(Rust does not yet support upcasting from a trait object to an object for one of its supertraits.)

Implementors§