hara_native/lang/protocol/
iiter.rs1use hara_protocol_macros::hara_protocol;
2
3#[hara_protocol(namespace = "std.protocol.iiter", name = "IIter")]
4pub trait IIter {
5 type Item;
6 type Iter: Iterator<Item = Self::Item>;
7
8 #[hara_method(value = "iter", arity = 1)]
9 fn iter(&self) -> Self::Iter;
10}