moverox-codegen 0.0.12

Generate Rust code from Move IR parsed by move-syn
Documentation
1
2
3
4
5
6
7
8
9
10
pub(crate) trait BoxedIter<'a>: Iterator + 'a {
    fn boxed(self) -> Box<dyn Iterator<Item = Self::Item> + 'a>
    where
        Self: Sized,
    {
        Box::new(self)
    }
}

impl<'a, T: Iterator + 'a> BoxedIter<'a> for T {}