Enum devise::syn::GenericMethodArgument
source · 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.
Const(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§
source§impl Clone for GenericMethodArgument
impl Clone for GenericMethodArgument
source§fn clone(&self) -> GenericMethodArgument
fn clone(&self) -> GenericMethodArgument
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more