Struct item::FnDecl
[−]
[src]
pub struct FnDecl { pub inputs: Vec<Arg>, pub output: FunctionRetTy, }
Header (not the body) of a function declaration.
E.g. fn foo(bar: baz)
Fields
inputs: Vec<Arg>
output: FunctionRetTy
Trait Implementations
impl PartialEq for FnDecl
[src]
fn eq(&self, __arg_0: &FnDecl) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FnDecl) -> bool
This method tests for !=
.
impl Eq for FnDecl
[src]
impl Clone for FnDecl
[src]
fn clone(&self) -> FnDecl
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more