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)

Fields

Trait Implementations

impl Debug for FnDecl
[src]

Formats the value using the given formatter.

impl Clone for FnDecl
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for FnDecl
[src]

impl PartialEq for FnDecl
[src]

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

This method tests for !=.