Enum rustc_hir::hir::GenericArg [−][src]
Variants
Lifetime(Lifetime)
Tuple Fields of Lifetime
0: Lifetime
Type(Ty<'hir>)
Tuple Fields of Type
0: Ty<'hir>
Const(ConstArg)
Tuple Fields of Const
0: ConstArg
Infer(InferArg)
Tuple Fields of Infer
0: InferArg
Implementations
Trait Implementations
Auto Trait Implementations
impl<'hir> RefUnwindSafe for GenericArg<'hir>
impl<'hir> !Send for GenericArg<'hir>
impl<'hir> !Sync for GenericArg<'hir>
impl<'hir> Unpin for GenericArg<'hir>
impl<'hir> UnwindSafe for GenericArg<'hir>
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: 80 bytes
Size for each variant:
Lifetime
: 36 bytesType
: 76 bytesConst
: 24 bytesInfer
: 20 bytes