hara-native 0.1.21

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

#[hara_protocol(namespace = "std.protocol.ipeeklast", name = "IPeekLast")]
pub trait IPeekLast<E> {
    #[hara_method(value = "peek-last", arity = 1)]
    fn peek_last(&self) -> Option<E>;
}