Struct syntax::ast::FnDeclExperimental [-]  [+] [src]

pub struct FnDecl {
    pub inputs: Vec<Arg>,
    pub output: FunctionRetTy,
    pub variadic: bool,
}

represents the header (not the body) of a function declaration

Fields

inputs
output
variadic

Trait Implementations

Derived Implementations

impl Show for FnDecl

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl<__S: Writer> Hash<__S> for FnDecl

fn hash(&self, __arg_0: &mut __S)

impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for FnDecl

fn decode(__arg_0: &mut __D) -> Result<FnDecl, __E>

impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for FnDecl

fn encode(&self, __arg_0: &mut __S) -> Result<(), __E>

impl Eq for FnDecl

fn assert_receiver_is_total_eq(&self)

impl PartialEq for FnDecl

fn eq(&self, __arg_0: &FnDecl) -> bool

fn ne(&self, __arg_0: &FnDecl) -> bool

impl Clone for FnDecl

fn clone(&self) -> FnDecl

fn clone_from(&mut self, source: &Self)