Struct syn::FnDecl [] [src]

pub struct FnDecl {
    pub inputs: Vec<FnArg>,
    pub output: FunctionRetTy,

Header (not the body) of a function declaration.

E.g. fn foo(bar: baz)


Trait Implementations

impl Debug for FnDecl

Formats the value using the given formatter.

impl Clone for FnDecl

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for FnDecl

impl PartialEq for FnDecl

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.