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: Pareninputs: Punctuated<Type, Comma>(A, B)
output: ReturnTypeC
Trait Implementations
sourceimpl Parse for ParenthesizedGenericArguments
impl Parse for ParenthesizedGenericArguments
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations
impl RefUnwindSafe for ParenthesizedGenericArguments
impl !Send for ParenthesizedGenericArguments
impl !Sync for ParenthesizedGenericArguments
impl Unpin for ParenthesizedGenericArguments
impl UnwindSafe for ParenthesizedGenericArguments
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more