[−][src]Struct rustc_traits::chalk::db::RustIrDatabase

pub struct RustIrDatabase<'tcx> {
    pub tcx: TyCtxt<'tcx>,
    pub interner: RustInterner<'tcx>,
}

Fields

tcx: TyCtxt<'tcx>interner: RustInterner<'tcx>

Trait Implementations

impl<'_> Debug for RustIrDatabase<'_>[src]

impl<'tcx> RustIrDatabase<RustInterner<'tcx>> for RustIrDatabase<'tcx>[src]

fn force_impl_for(
    &self,
    well_known: WellKnownTrait,
    ty: &TyData<RustInterner<'tcx>>
) -> Option<bool>
[src]

Since Chalk can't handle all Rust types currently, we have to handle some specially for now. Over time, these Some returns will change to None and eventually this function will be removed.

Auto Trait Implementations

impl<'tcx> !RefUnwindSafe for RustIrDatabase<'tcx>

impl<'tcx> !Send for RustIrDatabase<'tcx>

impl<'tcx> !Sync for RustIrDatabase<'tcx>

impl<'tcx> Unpin for RustIrDatabase<'tcx>

impl<'tcx> !UnwindSafe for RustIrDatabase<'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.