pub fn define_global_function<M>(name: &str, func: M)where
    M: Method,
Expand description

Define a method in the root scope.