Enum syn::GenericMethodArgument [−][src]
Expand description
An individual generic argument to a method, like T
.
This type is available only if Syn is built with the "full"
feature.
Variants
Type(Type)
Tuple Fields
0: Type
A type argument.
Const(Expr)
Tuple Fields
0: Expr
A const expression. Must be inside of a block.
NOTE: Identity expressions are represented as Type arguments, as they are indistinguishable syntactically.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GenericMethodArgument
impl !Send for GenericMethodArgument
impl !Sync for GenericMethodArgument
impl Unpin for GenericMethodArgument
impl UnwindSafe for GenericMethodArgument
Blanket Implementations
Mutably borrows from an owned value. Read more