Struct syntex_syntax::ast::FnDecl [] [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 Debug for FnDecl

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

impl Hash for FnDecl

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Decodable for FnDecl

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

impl Encodable for FnDecl

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

impl Eq for FnDecl

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)