Struct rustdoc::html::markdown::ExtraInfo[−][src]

pub(crate) struct ExtraInfo<'tcx> {
    hir_id: Option<HirId>,
    item_did: Option<DefId>,
    sp: Span,
    tcx: TyCtxt<'tcx>,
}

Fields

hir_id: Option<HirId>item_did: Option<DefId>sp: Spantcx: TyCtxt<'tcx>

Implementations

impl<'tcx> ExtraInfo<'tcx>[src]

pub(crate) fn new(tcx: TyCtxt<'tcx>, hir_id: HirId, sp: Span) -> ExtraInfo<'tcx>[src]

pub(crate) fn new_did(
    tcx: TyCtxt<'tcx>,
    did: DefId,
    sp: Span
) -> ExtraInfo<'tcx>
[src]

fn error_invalid_codeblock_attr(&self, msg: &str, help: &str)[src]

Auto Trait Implementations

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

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> Instrument 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]