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
10
11
12
13
14
use super::IPersistent;
use hara_protocol_macros::hara_protocol;

#[hara_protocol(
    namespace = "std.protocol.itomutable",
    name = "IToMutable",
    parents = ["IPersistent"]
)]
pub trait IToMutable: IPersistent {
    type Mutable;

    #[hara_method(value = "to-mutable", arity = 1)]
    fn to_mutable(&self) -> Self::Mutable;
}