ExtraInfo in rustdoc::html::markdown - Rust (original) (raw)

pub(crate) struct ExtraInfo<'tcx> {
    def_id: LocalDefId,
    sp: Span,
    tcx: TyCtxt<'tcx>,
}

Fields§

§def_id: [LocalDefId](../../../rustc%5Fspan/def%5Fid/struct.LocalDefId.html "struct rustc_span::def_id::LocalDefId")§sp: [Span](../../../rustc%5Fspan/span%5Fencoding/struct.Span.html "struct rustc_span::span_encoding::Span")§tcx: [TyCtxt](../../../rustc%5Fmiddle/ty/context/struct.TyCtxt.html "struct rustc_middle::ty::context::TyCtxt")<'tcx>

Implementations§

Auto Trait Implementations§

§

impl<'tcx> Freeze for ExtraInfo<'tcx>

§

impl<'tcx> RefUnwindSafe for ExtraInfo<'tcx>

§

impl<'tcx> Send for ExtraInfo<'tcx>

§

impl<'tcx> Sync for ExtraInfo<'tcx>

§

impl<'tcx> Unpin for ExtraInfo<'tcx>

§

impl<'tcx> UnwindSafe for ExtraInfo<'tcx>

Blanket Implementations§

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: 24 bytes