Trait itertools::misc::Slice
[−]
[src]
pub unsafe trait Slice { type Item; }
A helper trait to let ZipSlices
accept both &[T]
and &mut [T]
.
Unsafe trait because:
- Implementors must guarantee that
get_unchecked
is valid for all indices0..len()
.