1 2 3 4 5 6 7 8 9
use hara_protocol_macros::hara_protocol; #[hara_protocol(namespace = "std.protocol.ideref", name = "IDeref")] pub trait IDeref { type Output; #[hara_method(value = "deref", arity = 1)] fn deref(&self) -> Self::Output; }