Struct syn::ParenthesizedGenericArguments
source · [−]pub struct ParenthesizedGenericArguments {
pub paren_token: Paren,
pub inputs: Punctuated<Type, Comma>,
pub output: ReturnType,
}This is supported on crate features
full or derive only.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: Pareninputs: Punctuated<Type, Comma>(A, B)
output: ReturnTypeC
Trait Implementations
impl PartialEq<ParenthesizedGenericArguments> for ParenthesizedGenericArguments
This is supported on crate feature extra-traits only.
impl PartialEq<ParenthesizedGenericArguments> for ParenthesizedGenericArguments
This is supported on crate feature
extra-traits only.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