Enum devise::syn::GenericMethodArgument [−][src]
Expand description
An individual generic argument to a method, like T.
This type is available if Syn is built with the "full" feature.
Variants
Type(Type)A type argument.
Tuple Fields of Type
0: TypeConst(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: ExprTrait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
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
Returns a Span covering the complete contents of this syntax tree
node, or Span::call_site() if this node is empty. Read more