Enum syn::GenericMethodArgument [−][src]
This is supported on crate feature
full
only.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
impl PartialEq<GenericMethodArgument> for GenericMethodArgument
This is supported on crate feature extra-traits
only.
impl PartialEq<GenericMethodArgument> for GenericMethodArgument
This is supported on crate feature
extra-traits
only.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