initialize

Function initialize 

Source
pub fn initialize() -> Result<MetaCallDestroy, 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();