pub fn function(mut self, func: FunctionBuilder<'static>) -> Self {
        self.functions.push(func);
        self
    }
Adds a function to the extension.

# Arguments

* `func` - The function to be added to the extension.
src/builders/module.rs