Struct rustdoc::html::sources::SourceCollector [−][src]
struct SourceCollector<'a, 'tcx> {
cx: &'a mut Context<'tcx>,
dst: PathBuf,
emitted_local_sources: FxHashSet<PathBuf>,
}
Expand description
Helper struct to render all source code to HTML pages
Fields
cx: &'a mut Context<'tcx>
dst: PathBuf
Root destination to place all HTML output into
emitted_local_sources: FxHashSet<PathBuf>
Implementations
Trait Implementations
don’t override!
don’t override!
Auto Trait Implementations
impl<'a, 'tcx> !RefUnwindSafe for SourceCollector<'a, 'tcx>
impl<'a, 'tcx> !Send for SourceCollector<'a, 'tcx>
impl<'a, 'tcx> !Sync for SourceCollector<'a, 'tcx>
impl<'a, 'tcx> Unpin for SourceCollector<'a, 'tcx> where
'tcx: 'a,
impl<'a, 'tcx> !UnwindSafe for SourceCollector<'a, 'tcx>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 64 bytes