hara-native 0.1.21

HAL-free native host runtime and package launcher for Hara
Documentation
1
2
3
4
5
6
7
8
9
use hara_protocol_macros::hara_protocol;

#[hara_protocol(namespace = "std.protocol.ifn", name = "IFn")]
pub trait IFn<A> {
    type Output;

    #[hara_method(value = "invoke", arity = -1, variadic = true, min_arity = 1)]
    fn invoke(&self, arguments: A) -> Self::Output;
}