[][src]Module core_extensions::slices

Slice extensions.

Structs

KeySlice

KeySlice is a pair of (slice,key) returned from the (R)SplitSliceWhile iterators.

RSplitSliceWhile

Iterator that returns slices for the ranges in which mapper returns the same value ,from the end.

SliceBias

What directions SliceExt::slice_lossy[_mut] is biased towards.

SplitSliceWhile

Iterator that returns slices for the ranges in which mapper returns the same value.

Enums

BiasDirection

The direction the range bound is biased towards.

Traits

SliceExt

Extension trait for [T] and str.

ValSliceExt

Extension trait for [T].