[−][src]Struct rustdoc::doctest::HirCollector

pub(in doctest) struct HirCollector<'a, 'hir, 'tcx> {
    sess: &'a Session,
    collector: &'a mut Collector,
    map: Map<'hir>,
    codes: ErrorCodes,
    tcx: TyCtxt<'tcx>,
}

Fields

sess: &'a Sessioncollector: &'a mut Collectormap: Map<'hir>codes: ErrorCodestcx: TyCtxt<'tcx>

Implementations

impl<'a, 'hir, 'tcx> HirCollector<'a, 'hir, 'tcx>[src]

pub(in doctest) fn visit_testable<F: FnOnce(&mut Self)>(
    &mut self,
    name: String,
    attrs: &[Attribute],
    hir_id: HirId,
    sp: Span,
    nested: F
)
[src]

Trait Implementations

impl<'a, 'hir, 'tcx> Visitor<'hir> for HirCollector<'a, 'hir, 'tcx>[src]

type Map = Map<'hir>

Auto Trait Implementations

impl<'a, 'hir, 'tcx> !RefUnwindSafe for HirCollector<'a, 'hir, 'tcx>

impl<'a, 'hir, 'tcx> !Send for HirCollector<'a, 'hir, 'tcx>

impl<'a, 'hir, 'tcx> !Sync for HirCollector<'a, 'hir, 'tcx>

impl<'a, 'hir, 'tcx> Unpin for HirCollector<'a, 'hir, 'tcx>

impl<'a, 'hir, 'tcx> !UnwindSafe for HirCollector<'a, 'hir, 'tcx>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithConstness for T[src]