Function metacall::initialize

source ·
pub fn initialize() -> Result<MetacallAutoDestroy, MetacallInitError>
Expand description

Initializes Metacall. Always remember to store the output in a variable to avoid instant drop. For example: …

// Initialize metacall at the top of your main function before loading your codes or
// calling any function.
let _metacall = metacall::initialize().unwrap();