Module core::sliceStable [-]  [+] [src]

Slice management and manipulation

For more details std::slice.

Reexports

pub use self::BinarySearchResult::*;

Primitive Types

slice

Slice management and manipulation

Modules

bytes

Operations on [u8].

raw

Unsafe operations

Structs

Chunks

An iterator over a slice in (non-overlapping) chunks (size elements at a time).

Items

Immutable slice iterator

MutChunks

An iterator over a slice in (non-overlapping) mutable chunks (size elements at a time). When the slice len is not evenly divided by the chunk size, the last slice of the iteration will be the remainder.

MutItems

Mutable slice iterator.

MutSplits

An iterator over the subslices of the vector which are separated by elements that match pred.

Splits

An iterator over subslices separated by elements that match a predicate function.

SplitsN

An iterator over subslices separated by elements that match a predicate function, splitting at most a fixed number of times.

Windows

An iterator over overlapping subslices of length size.

Enums

BinarySearchResult

The result of calling binary_search.

Traits

AsSlice

Data that is viewable as a slice.

CloneSlicePrelude

Extension methods for slices on Clone elements

ImmutableIntSlice

Extension methods for immutable slices containing integers.

MutableIntSlice

Extension methods for mutable slices containing integers.

OrdSlicePrelude

Extension methods for slices containing Ord elements.

PartialEqSlicePrelude

Extension methods for slices containing PartialEq elements.

SlicePrelude

Extension methods for slices.

Functions

mut_ref_slice

Converts a pointer to A into a slice of length 1 (without copying).

ref_slice

Converts a pointer to A into a slice of length 1 (without copying).