ProvidedValue in rustc_middle::queries::const_conditions - Rust
Description: Type returned from query providers and loaded from disk-cache.

Skip to main content

## ProvidedValue

# Type Alias ProvidedValue

Source

    pub type ProvidedValue<'tcx> = Value<'tcx>;

Expand description

Type returned from query providers and loaded from disk-cache.

## Aliased Type§

    pub struct ProvidedValue<'tcx> {
        pub parent: Option<DefId>,
        pub predicates: &'tcx [(Binder<TyCtxt<'tcx>, TraitRef<TyCtxt<'tcx>>>, Span)],
    }

## Fields§

§`parent: Option<DefId>`§`predicates: &'tcx [(Binder<TyCtxt<'tcx>, TraitRef<TyCtxt<'tcx>>>, Span)]`

## Layout§

Note: Most layout information is completely unstable and may even differ between compilations. 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: 24 bytes