Struct syn::ParenthesizedGenericArguments [−][src]
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.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
impl Clone for ParenthesizedGenericArguments
[src]
impl Clone for ParenthesizedGenericArguments
[src]This is supported on crate feature
clone-impls
only.fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ParenthesizedGenericArguments
[src]
impl Debug for ParenthesizedGenericArguments
[src]This is supported on crate feature
extra-traits
only.impl Eq for ParenthesizedGenericArguments
[src]
impl Eq for ParenthesizedGenericArguments
[src]This is supported on crate feature
extra-traits
only.impl Hash for ParenthesizedGenericArguments
[src]
impl Hash for ParenthesizedGenericArguments
[src]This is supported on crate feature
extra-traits
only.impl Parse for ParenthesizedGenericArguments
[src]
impl Parse for ParenthesizedGenericArguments
[src]This is supported on crate feature
parsing
only.fn parse(input: ParseStream<'_>) -> Result<Self>
[src]
impl PartialEq<ParenthesizedGenericArguments> for ParenthesizedGenericArguments
[src]
impl PartialEq<ParenthesizedGenericArguments> for ParenthesizedGenericArguments
[src]This is supported on crate feature
extra-traits
only.impl ToTokens for ParenthesizedGenericArguments
[src]
impl ToTokens for ParenthesizedGenericArguments
[src]This is supported on crate feature
printing
only.fn to_tokens(&self, tokens: &mut TokenStream)
[src]
pub fn to_token_stream(&self) -> TokenStream
[src]
pub fn into_token_stream(self) -> TokenStream
[src]
Auto Trait Implementations
impl !Send for ParenthesizedGenericArguments
impl !Send for ParenthesizedGenericArguments
impl !Sync for ParenthesizedGenericArguments
impl !Sync for ParenthesizedGenericArguments
impl Unpin for ParenthesizedGenericArguments
impl Unpin for ParenthesizedGenericArguments
impl UnwindSafe for ParenthesizedGenericArguments
impl UnwindSafe for ParenthesizedGenericArguments