/// Generate the signature for the given name and parameters. Can be used
/// for both events and functions
Generate the signature for the given name and parameters. Can be used
for both events and functions
Generate the signature for the given name and parameters . Can be used for both events and functions
pub fn signature(&self, name: &str, params: &[ast::Parameter]) -> String {
        format!(
            "{}({})",
            name,
            params
                .iter()
                .map(|p| p.ty.to_signature_string(self))
                .collect::<Vec<String>>()
                .join(",")
        )
    }
pub fn signature ( & self , name : & str , params : & [ ast :: Parameter ] ) -> String { format ! ( " " name params iter ( ) map ( p p ty to_signature_string ( self ) ) collect Vec String ( ) join ( " " ) ) }
Generate the signature for the given name and parameters.
Generate the signature for the given name and parameters .
&self
name
&str
params
&[ast::Parameter]