1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
use crate::Value;

pub struct Iter(Value);

impl IntoIterator for Value {
    type Item = Value;

    type IntoIter = Iter;

    fn into_iter(self) -> Self::IntoIter {
        Iter(self)
    }
}

impl Iterator for Iter {
    type Item = Value;

    fn next(&mut self) -> Option<Self::Item> {
        todo!()
    }
}