Type Alias slice_utils::Cloned

source ·
pub type Cloned<S> = MapBorrowed<S, for<'a> fn(_: &<S as Slice>::Output) -> <S as Slice>::Output>;
Expand description

Clones each item on access; see SliceBorrowed::cloned.

Aliased Type§

struct Cloned<S>(pub S, pub for<'a> fn(_: &<S as Slice>::Output) -> <S as Slice>::Output);

Fields§

§0: S§1: for<'a> fn(_: &<S as Slice>::Output) -> <S as Slice>::Output