pub trait LocalImport<Store: Store> {
// Required methods
fn name(&self) -> &str;
fn inputs_cardinality(&self) -> usize;
fn outputs_cardinality(&self) -> usize;
fn arguments(&self) -> &[FunctionArg];
fn outputs(&self) -> &[IType];
fn call(
&self,
store: &mut <Store as Store>::ActualStore<'_>,
arguments: &[IValue]
) -> Result<Vec<IValue>, ()>;
}