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)
A type argument.
Tuple Fields of Type
0: Type
Const(Expr)
A const expression. Must be inside of a block.
NOTE: Identity expressions are represented as Type arguments, as they are indistinguishable syntactically.
Tuple Fields of Const
0: Expr
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