[−][src]Struct rustc_middle::ty::query::queries::lit_to_const

pub struct lit_to_const<'tcx> {
    data: PhantomData<&'tcx ()>,
}

Fields

data: PhantomData<&'tcx ()>

Trait Implementations

impl<'tcx> QueryAccessors<TyCtxt<'tcx>> for lit_to_const<'tcx>[src]

type Cache = <<LitToConstInput<'tcx> as Key>::CacheSelector as CacheSelector<LitToConstInput<'tcx>, Result<&'tcx Const<'tcx>, LitToConstError>>>::Cache

impl<'tcx> QueryConfig for lit_to_const<'tcx>[src]

type Key = LitToConstInput<'tcx>

type Value = Result<&'tcx Const<'tcx>, LitToConstError>

type Stored = <<<LitToConstInput<'tcx> as Key>::CacheSelector as CacheSelector<LitToConstInput<'tcx>, Result<&'tcx Const<'tcx>, LitToConstError>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryDescription<TyCtxt<'tcx>> for lit_to_const<'tcx>[src]

Auto Trait Implementations

impl<'tcx> RefUnwindSafe for lit_to_const<'tcx>

impl<'tcx> Send for lit_to_const<'tcx>

impl<'tcx> Sync for lit_to_const<'tcx>

impl<'tcx> Unpin for lit_to_const<'tcx>

impl<'tcx> UnwindSafe for lit_to_const<'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<'a, T> Captures<'a> 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> MaybeResult<T> for T[src]

type Error = !

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<T> WithConstness for T[src]