[−][src]Module bitvec::slice
BitSlice
Wide Reference
This module defines semantic operations on [u1]
, in contrast to the mechanical
operations defined in BitPtr
.
The &BitSlice
handle has the same size and general layout as the standard Rust
slice handle &[T]
. Its binary layout is wholly incompatible with the layout of
Rust slices, and must never be interchanged except through the provided APIs.
Structs
BitMut | Proxy referential type, equivalent to |
BitSlice | A compact slice of bits, whose order and storage types can be customized. |
Chunks | An iterator over a slice in (non-overlapping) chunks ( |
ChunksExact | An iterator over a slice in (non-overlapping) chunks ( |
ChunksExactMut | An iterator over a slice in (non-ovelapping) mutable chunks ( |
ChunksMut | An iterator over a slice in (non-overlapping) mutable chunks ( |
Iter | Immutable slice iterator |
IterMut | Mutable slice iterator. |
RChunks | An iterator over a slice in (non-overlapping) chunks ( |
RChunksExact | An iterator over a slice in (non-overlapping) chunks ( |
RChunksExactMut | An iterator over a slice in (non-overlapping) mutable chunks ( |
RChunksMut | An iterator over a slice in (non-overlapping) mutable chunks ( |
RSplit | An iterator over subslices separated by bits that satisfy a predicate function, starting from the end of the slice. |
RSplitMut | An iterator over subslices separated by bits that satisfy a predicate function, starting from the end of the slice. |
RSplitN | An iterator over subslices separated by positions that satisfy a predicate function, limited to a given number of splits, starting from the end of the slice. |
RSplitNMut | An iterator over mutable subslices separated by positions that satisfy a predicate function, limited to a given number of splits, starting from the end of the slice. |
Split | An iterator over subslices separated by bits that satisfy a predicate function. |
SplitMut | An iterator over subslices separated by positions that satisfy a predicate function. |
SplitN | An iterator over subslices separated by positions that satisfy a predicate function, limited to a given number of splits. |
SplitNMut | An iterator over mutable subslices separated by positions that satisfy a predicate function, limited to a given number of splits. |
Windows | An iterator over overlapping subslices of some width. |
Traits
AsBits | Allows a type to be used as a sequence of immutable bits. |
BitSliceIndex | Replacement for |
Functions
bits_from_raw_parts⚠ | Forms a |
bits_from_raw_parts_mut⚠ | Performs the same functionality as |
from_mut | Converts a reference to |
from_raw_parts⚠ | Forms a bit slice from a pointer and a length. |
from_raw_parts_mut⚠ | Performs the same functionality as |
from_ref | Converts a reference to |