[−][src]Trait rustc_driver::pretty::PrinterSupport

pub(in pretty) trait PrinterSupport: PpAnn {
    pub(in pretty) fn sess(
        &self
    ) -> &Session;
pub(in pretty) fn pp_ann(
        &self
    ) -> &dyn PpAnn; }

Required methods

pub(in pretty) fn sess(
    &self
) -> &Session
[src]

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

pub(in pretty) fn pp_ann(
    &self
) -> &dyn PpAnn
[src]

Produces the pretty-print annotation object.

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

Loading content...

Implementors

impl<'a> PrinterSupport for HygieneAnnotation<'a>[src]

impl<'hir> PrinterSupport for IdentifiedAnnotation<'hir>[src]

impl<'hir> PrinterSupport for NoAnn<'hir>[src]

Loading content...