Struct syn::ParenthesizedGenericArguments
source · [−]pub struct ParenthesizedGenericArguments {
pub paren_token: Paren,
pub inputs: Punctuated<Type, Comma>,
pub output: ReturnType,
}
Expand description
Arguments of a function path segment: the (A, B) -> C
in Fn(A,B) -> C
.
This type is available only if Syn is built with the "derive"
or "full"
feature.
Fields
paren_token: Paren
inputs: Punctuated<Type, Comma>
(A, B)
output: ReturnType
C
Trait Implementations
Auto Trait Implementations
impl !Send for ParenthesizedGenericArguments
impl !Sync for ParenthesizedGenericArguments
impl Unpin for ParenthesizedGenericArguments
impl UnwindSafe for ParenthesizedGenericArguments
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