Expand description
Extra functions for slices
Re-exports§
pub use self::rev::RevSlice;
Modules§
- blocked
- Blocked iterator
- iter
- Slice iterators
- rev
- A reversed view of a slice.
- unalign
- An iterator for (possibly unaligned) blocking of byte ranges
Traits§
- Pod
- “plain old data”: Types that we can stick arbitrary bit patterns into,
and thus use them as blocks in
split_aligned_foror inUnalignedIter. - Slice
Find - Element-finding methods for slices
- Slice
Find Split - Element-finding methods for slices
Functions§
- rotate_
left - Rotate
stepstowards lower indices. - shared_
prefix - Return the end index of the longest shared (equal) prefix of
aandb. - split_
aligned_ for - Split the input slice into three chunks,
so that the middle chunk is a slice of a larger “block size”
(for example T could be u64) that is correctly aligned for
T.