Struct rustdoc::visit_ast::RustdocVisitor[][src]

pub struct RustdocVisitor<'a, 'tcx: 'a, 'rcx: 'a> {
    pub module: Module,
    pub attrs: HirVec<Attribute>,
    pub cx: &'a DocContext<'a, 'tcx, 'rcx>,
    view_item_stack: FxHashSet<NodeId>,
    inlining: bool,
    inside_public_path: bool,
    exact_paths: Option<FxHashMap<DefId, Vec<String>>>,
}

Fields

Is the current module and all of its parents public?

Methods

impl<'a, 'tcx, 'rcx> RustdocVisitor<'a, 'tcx, 'rcx>
[src]

Tries to resolve the target of a pub use statement and inlines the target if it is defined locally and would not be documented otherwise, or when it is specifically requested with please_inline. (the latter is the case when the import is marked doc(inline))

Cross-crate inlining occurs later on during crate cleaning and follows different rules.

Returns true if the target has been inlined.

Trait Implementations

impl<'a, 'tcx, 'rcx> Clean<Crate> for RustdocVisitor<'a, 'tcx, 'rcx>
[src]

Auto Trait Implementations

impl<'a, 'tcx, 'rcx> !Send for RustdocVisitor<'a, 'tcx, 'rcx>

impl<'a, 'tcx, 'rcx> !Sync for RustdocVisitor<'a, 'tcx, 'rcx>