Value in rustc_middle::queries::trait_explicit_predicates_and_bounds - Rust
Description: API documentation for the Rust `Value` type in crate `rustc_middle`.

Skip to main content

## Value

# Type Alias Value

Source

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

## Aliased Type§

    pub struct Value<'tcx> {
        pub parent: Option<DefId>,
        pub predicates: &'tcx [(Clause<'tcx>, Span)],
    }

## Fields§

§`parent: Option<DefId>`§`predicates: &'tcx [(Clause<'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