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

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

Fields

hir_id: Option<HirId>item_did: Option<DefId>sp: Spantcx: &'a TyCtxt<'b>

Implementations

impl<'a, 'b> ExtraInfo<'a, 'b>[src]

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

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

pub(in html::markdown) fn error_invalid_codeblock_attr(
    &self,
    msg: &str,
    help: &str
)
[src]

Auto Trait Implementations

impl<'a, 'b> !RefUnwindSafe for ExtraInfo<'a, 'b>

impl<'a, 'b> !Send for ExtraInfo<'a, 'b>

impl<'a, 'b> !Sync for ExtraInfo<'a, 'b>

impl<'a, 'b> Unpin for ExtraInfo<'a, 'b> where
    'b: 'a, 

impl<'a, 'b> !UnwindSafe for ExtraInfo<'a, 'b>

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]