Enum rustc_ast::ast::GenericArg [−][src]
Expand description
Concrete argument in the sequence of generic args.
Variants
Lifetime(Lifetime)'a in Foo<'a>
Bar in Foo<Bar>
Const(AnonConst)1 in Foo<1>
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for GenericArgimpl !Send for GenericArgimpl !Sync for GenericArgimpl Unpin for GenericArgimpl !UnwindSafe for GenericArgBlanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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