enum DictKey<'tcx> {
Ty(Ty<'tcx>, TyQ),
Region(Region<'tcx>),
Const(Const<'tcx>),
Predicate(ExistentialPredicate<'tcx>),
}Expand description
Substitution dictionary key.
Variants§
Trait Implementations§
source§impl<'tcx> PartialEq for DictKey<'tcx>
impl<'tcx> PartialEq for DictKey<'tcx>
impl<'tcx> Eq for DictKey<'tcx>
impl<'tcx> StructuralPartialEq for DictKey<'tcx>
Auto Trait Implementations§
impl<'tcx> !RefUnwindSafe for DictKey<'tcx>
impl<'tcx> Send for DictKey<'tcx>
impl<'tcx> Sync for DictKey<'tcx>
impl<'tcx> Unpin for DictKey<'tcx>
impl<'tcx> !UnwindSafe for DictKey<'tcx>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
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: 24 bytes
Size for each variant:
Ty: 24 bytesRegion: 16 bytesConst: 16 bytesPredicate: 24 bytes