Struct rustc_query_impl::queries::is_promotable_const_fn [−][src]
pub struct is_promotable_const_fn<'tcx> {
data: PhantomData<&'tcx ()>,
}Fields
data: PhantomData<&'tcx ()>Trait Implementations
type Cache = is_promotable_const_fn<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
fn compute_fn(
tcx: QueryCtxt<'tcx>,
key: &Self::Key
) -> fn(_: TyCtxt<'tcx>, _: Self::Key) -> Self::Value
fn hash_result(
_hcx: &mut StableHashingContext<'_>,
_result: &Self::Value
) -> Option<Fingerprint>
type Key = is_promotable_const_fn<'tcx>
type Value = is_promotable_const_fn<'tcx>
type Stored = is_promotable_const_fn<'tcx>
Auto Trait Implementations
impl<'tcx> RefUnwindSafe for is_promotable_const_fn<'tcx>
impl<'tcx> Send for is_promotable_const_fn<'tcx>
impl<'tcx> Sync for is_promotable_const_fn<'tcx>
impl<'tcx> Unpin for is_promotable_const_fn<'tcx>
impl<'tcx> UnwindSafe for is_promotable_const_fn<'tcx>
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes