Is a Peekable of a Dynamic Iterator of i32
Expressible in Rust?
I have the following struct:
struct Quads<'a> {
mx: &'a Vec<Vec<u32>>,
xs: &'a mut Peekable<Range<i32>>,
ys: &'a mut Peekable<Range<i32>>,
dx: i32,
dy: i32,
}
I want to know if it is possible to express a Peekable
of a dynamic Iterator
of i32
in Rust.