pub enum GenericKind<'tcx> {
Param(ParamTy),
Projection(AliasTy<'tcx>),
Opaque(DefId, &'tcx List<GenericArg<'tcx>>),
}
Variants§
Auto Trait Implementations§
impl<'tcx> !RefUnwindSafe for GenericKind<'tcx>
impl<'tcx> !Send for GenericKind<'tcx>
impl<'tcx> !Sync for GenericKind<'tcx>
impl<'tcx> Unpin for GenericKind<'tcx>
impl<'tcx> !UnwindSafe for GenericKind<'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: 24 bytes
Size for each variant:
Param
: 8 bytesProjection
: 20 bytesOpaque
: 20 bytes