enum DictKey<'tcx> {
Ty(Ty<'tcx>, TyQ),
Region(Region<'tcx>),
Const(Const<'tcx>),
Predicate(ExistentialPredicate<'tcx>),
}Expand description
Substitution dictionary key.
Variants
Ty(Ty<'tcx>, TyQ)
Region(Region<'tcx>)
Const(Const<'tcx>)
Predicate(ExistentialPredicate<'tcx>)
Trait Implementations
impl<'tcx> Eq for DictKey<'tcx>
impl<'tcx> StructuralEq 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn 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: 48 bytes
Size for each variant:
Ty: 15 bytesRegion: 15 bytesConst: 15 bytesPredicate: 47 bytes