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 indices 0..len().

Associated Types

type Item

The type of a reference to the slice's elements

Implementors