Skip to main content

call_export

Function call_export 

Source
pub fn call_export<A: Schema, R: Schema>(
    mod_id: &str,
    name: &str,
    args: &A,
) -> Option<R>
Expand description

Calls mod mod_id’s export name with args: its answer, None when it isn’t there (the mod isn’t loaded) or failed.