The new Iter struct basically mirrors slice's Iter, but with poiners/pointer arithmetic used for everything (the new next() impl). PhantomData is used in both to track the lifetime of the data pointer.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments