metacall_no_arg

Function metacall_no_arg 

Source
pub fn metacall_no_arg<T: MetaCallValue>(
    func: impl ToString,
) -> Result<T, MetaCallError>
Expand description

Calls a function same as metacall without passing any arguments. For example: …

let greet = metacall::metacall_no_arg::<String>("greet").unwrap();