pub fn new(name: &str) -> Self {
        Function {
            name: name.to_string(),
            docs: None,
            allow: None,
            vis: None,
            generics: vec![],
            arg_self: None,
            args: vec![],
            ret: None,
            bounds: vec![],
            body: Some(vec![]),
            attributes: vec![],
            extern_abi: None,
            r#async: false,
        }
    }
/// Return a new function definition.
Return a new function definition.
Return a new function definition .
pub fn new(name: &str) -> Self {
        Function {
            name: name.to_string(),
            docs: None,
            allow: None,
            vis: None,
            generics: vec![],
            arg_self: None,
            args: vec![],
            ret: None,
            bounds: vec![],
            body: Some(vec![]),
            attributes: vec![],
            extern_abi: None,
            r#async: false,
        }
    }
pub fn new ( name : & str ) -> Self { Function { name : name . to_string ( ) , docs : None , allow : None , vis : None , generics : vec ! [ ] , arg_self : None , args : vec ! [ ] , ret : None , bounds : vec ! [ ] , body : Some ( vec ! [ ] ) , attributes : vec ! [ ] , extern_abi : None , r#async : false , } }
Return a new function definition.
Return a new function definition .
name
&str