[−][src]Struct rustc_middle::ty::query::queries::impl_parent
Fields
data: PhantomData<&'tcx ()>Trait Implementations
impl<'tcx> QueryAccessors<TyCtxt<'tcx>> for impl_parent<'tcx>[src]
pub const ANON: bool[src]
pub const EVAL_ALWAYS: bool[src]
pub const DEP_KIND: DepKind[src]
type Cache = <<DefId as Key>::CacheSelector as CacheSelector<DefId, Option<DefId>>>::Cache
pub fn query_state<'a>(
tcx: TyCtxt<'tcx>
) -> &'a QueryState<DepKind, <TyCtxt<'tcx> as QueryContext>::Query, Self::Cache>[src]
tcx: TyCtxt<'tcx>
) -> &'a QueryState<DepKind, <TyCtxt<'tcx> as QueryContext>::Query, Self::Cache>
pub fn compute(tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value[src]
pub fn hash_result(
_hcx: &mut StableHashingContext<'_>,
_result: &Self::Value
) -> Option<Fingerprint>[src]
_hcx: &mut StableHashingContext<'_>,
_result: &Self::Value
) -> Option<Fingerprint>
pub fn handle_cycle_error(
tcx: TyCtxt<'tcx>,
error: CycleError<Query<'tcx>>
) -> Self::Value[src]
tcx: TyCtxt<'tcx>,
error: CycleError<Query<'tcx>>
) -> Self::Value
pub fn to_dep_node(
tcx: CTX,
key: &Self::Key
) -> DepNode<<CTX as DepContext>::DepKind> where
Self::Key: DepNodeParams<CTX>, [src]
tcx: CTX,
key: &Self::Key
) -> DepNode<<CTX as DepContext>::DepKind> where
Self::Key: DepNodeParams<CTX>,
impl<'tcx> QueryConfig for impl_parent<'tcx>[src]
type Key = DefId
type Value = Option<DefId>
type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, Option<DefId>>>::Cache as QueryStorage>::Stored
pub const NAME: &'static str[src]
impl<'tcx> QueryDescription<TyCtxt<'tcx>> for impl_parent<'tcx>[src]
Auto Trait Implementations
impl<'tcx> RefUnwindSafe for impl_parent<'tcx>
impl<'tcx> Send for impl_parent<'tcx>
impl<'tcx> Sync for impl_parent<'tcx>
impl<'tcx> Unpin for impl_parent<'tcx>
impl<'tcx> UnwindSafe for impl_parent<'tcx>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> MaybeResult<T> for T[src]
type Error = !
pub fn from(Result<T, <T as MaybeResult<T>>::Error>) -> T[src]
pub fn to_result(self) -> Result<T, <T as MaybeResult<T>>::Error>[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.