MCPcopy Create free account
hub / github.com/alexpusch/rust-magic-patterns / SliceIterator

Class SliceIterator

dumbing-down-iterator/src/slice_iterator.rs:9–12  ·  view source on GitHub ↗

An example MyIterator over a slice of T This is a dumbing down of the `std::slice::Iter` iterator from the standard library. https://doc.rust-lang.org/std/slice/struct.Iter.html The lifetime parameter `'a` is used to ensure that the iterator does not outlive the data it is iterating over.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected