[−][src]Struct rustc_driver::pretty::IdentifiedAnnotation
Fields
sess: &'hir Sessiontcx: Option<TyCtxt<'hir>>Trait Implementations
impl<'hir> HirPrinterSupport<'hir> for IdentifiedAnnotation<'hir>[src]
pub(in pretty) fn sess(
&self
) -> &Session[src]
&self
) -> &Session
pub(in pretty) fn hir_map(
&self
) -> Option<Map<'hir>>[src]
&self
) -> Option<Map<'hir>>
pub(in pretty) fn pp_ann(
&self
) -> &dyn PpAnn[src]
&self
) -> &dyn PpAnn
pub(in pretty) fn node_path(
&self,
id: HirId
) -> Option<String>[src]
&self,
id: HirId
) -> Option<String>
impl<'hir> PpAnn for IdentifiedAnnotation<'hir>[src]
pub fn pre(&self, s: &mut State<'_>, node: AnnNode<'_>)[src]
pub fn post(&self, s: &mut State<'_>, node: AnnNode<'_>)[src]
impl<'hir> PpAnn for IdentifiedAnnotation<'hir>[src]
pub fn nested(&self, state: &mut State<'_>, nested: Nested)[src]
pub fn pre(&self, s: &mut State<'_>, node: AnnNode<'_>)[src]
pub fn post(&self, s: &mut State<'_>, node: AnnNode<'_>)[src]
impl<'hir> PrinterSupport for IdentifiedAnnotation<'hir>[src]
Auto Trait Implementations
impl<'hir> !RefUnwindSafe for IdentifiedAnnotation<'hir>
impl<'hir> !Send for IdentifiedAnnotation<'hir>
impl<'hir> !Sync for IdentifiedAnnotation<'hir>
impl<'hir> Unpin for IdentifiedAnnotation<'hir>
impl<'hir> !UnwindSafe for IdentifiedAnnotation<'hir>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,