[−][src]Struct rustc_passes::weak_lang_items::Context

pub(in weak_lang_items) struct Context<'a, 'tcx> {
    tcx: TyCtxt<'tcx>,
    items: &'a mut LanguageItems,
}

Fields

tcx: TyCtxt<'tcx>items: &'a mut LanguageItems

Implementations

impl<'a, 'tcx> Context<'a, 'tcx>[src]

pub(in weak_lang_items) fn register(
    &mut self,
    name: Symbol,
    span: Span
)
[src]

Trait Implementations

impl<'a, 'tcx, 'v> Visitor<'v> for Context<'a, 'tcx>[src]

type Map = ErasedMap<'v>

Auto Trait Implementations

impl<'a, 'tcx> !RefUnwindSafe for Context<'a, 'tcx>

impl<'a, 'tcx> !Send for Context<'a, 'tcx>

impl<'a, 'tcx> !Sync for Context<'a, 'tcx>

impl<'a, 'tcx> Unpin for Context<'a, 'tcx>

impl<'a, 'tcx> !UnwindSafe for Context<'a, '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, 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.