pub type Value<'tcx> = Option<&'tcx FxHashMap<ItemLocalId, Box<[TraitCandidate]>>>;

Aliased Type§

enum Value<'tcx> {
    None,
    Some(&'tcx HashMap<ItemLocalId, Box<[TraitCandidate], Global>, BuildHasherDefault<FxHasher>>),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(&'tcx HashMap<ItemLocalId, Box<[TraitCandidate], Global>, BuildHasherDefault<FxHasher>>)

Some value of type T.

Trait Implementations§

source§

impl<T> EraseType for Option<&T>

§

type Result = [u8; 8]

source§

impl<'tcx, T: Lift<'tcx>> Lift<'tcx> for Option<T>

§

type Lifted = Option<<T as Lift<'tcx>>::Lifted>

source§

fn lift_to_tcx(self, tcx: TyCtxt<'tcx>) -> Option<Self::Lifted>

source§

impl<T: ParameterizedOverTcx> ParameterizedOverTcx for Option<T>

§

type Value<'tcx> = Option<<T as ParameterizedOverTcx>::Value<'tcx>>

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:8 bytes

Size for each variant:

  • None: 0 bytes
  • Some: 8 bytes