Enum rustc_mir_dataflow::ty::subst::GenericArgKind [−][src]
pub enum GenericArgKind<'tcx> {
Lifetime(&'tcx RegionKind),
Type(&'tcx TyS<'tcx>),
Const(&'tcx Const<'tcx>),
}Variants
Lifetime(&'tcx RegionKind)
Tuple Fields
0: &'tcx RegionKindType(&'tcx TyS<'tcx>)
Tuple Fields
0: &'tcx TyS<'tcx>Const(&'tcx Const<'tcx>)
Tuple Fields
0: &'tcx Const<'tcx>Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for GenericArgKind<'tcx>
impl<'tcx> !Send for GenericArgKind<'tcx>
impl<'tcx> !Sync for GenericArgKind<'tcx>
impl<'tcx> Unpin for GenericArgKind<'tcx>
impl<'tcx> !UnwindSafe for GenericArgKind<'tcx>
Blanket Implementations
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: 16 bytes
Size for each variant:
Lifetime: 8 bytesType: 8 bytesConst: 8 bytes