Struct syntax::ast::FnDecl [−][src]
pub struct FnDecl { pub inputs: Vec<Arg>, pub output: FunctionRetTy, pub variadic: bool, }
Header (not the body) of a function declaration.
E.g. fn foo(bar: baz)
Fields
inputs: Vec<Arg>
output: FunctionRetTy
variadic: bool
Methods
impl FnDecl
[src]
impl FnDecl
Trait Implementations
impl Clone for FnDecl
[src]
impl Clone for FnDecl
fn clone(&self) -> FnDecl
[src]
fn clone(&self) -> FnDecl
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Encodable for FnDecl
[src]
impl Encodable for FnDecl
impl Decodable for FnDecl
[src]
impl Decodable for FnDecl
impl Debug for FnDecl
[src]
impl Debug for FnDecl