Enum rustc_trait_selection::infer::ValuePairs [−][src]
pub enum ValuePairs<'tcx> {
Types(ExpectedFound<&TyS>),
Regions(ExpectedFound<&RegionKind>),
Consts(ExpectedFound<&Const>),
TraitRefs(ExpectedFound<TraitRef>),
PolyTraitRefs(ExpectedFound<Binder<TraitRef>>),
}Expand description
See the error_reporting module for more details.
Variants
Types(ExpectedFound<&TyS>)
Tuple Fields
0: ExpectedFound<&TyS>Regions(ExpectedFound<&RegionKind>)
Tuple Fields
0: ExpectedFound<&RegionKind>Consts(ExpectedFound<&Const>)
Tuple Fields
0: ExpectedFound<&Const>TraitRefs(ExpectedFound<TraitRef>)
Tuple Fields
PolyTraitRefs(ExpectedFound<Binder<TraitRef>>)
Tuple Fields
0: ExpectedFound<Binder<TraitRef>>Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for ValuePairs
impl<'tcx> !Send for ValuePairs
impl<'tcx> !Sync for ValuePairs
impl<'tcx> Unpin for ValuePairs
impl<'tcx> !UnwindSafe for ValuePairs
Blanket Implementations
Mutably borrows from an owned value. Read more
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: 56 bytes
Size for each variant:
Types: 16 bytesRegions: 16 bytesConsts: 16 bytesTraitRefs: 32 bytesPolyTraitRefs: 48 bytes
