hara_native/lang/protocol/itomutable.rs
1use super::IPersistent;
2use hara_protocol_macros::hara_protocol;
3
4#[hara_protocol(
5 namespace = "std.protocol.itomutable",
6 name = "IToMutable",
7 parents = ["IPersistent"]
8)]
9pub trait IToMutable: IPersistent {
10 type Mutable;
11
12 #[hara_method(value = "to-mutable", arity = 1)]
13 fn to_mutable(&self) -> Self::Mutable;
14}