Module core::slice
[−]
[src]
Slice management and manipulation
For more details std::slice
.
Reexports
use clone::Clone; |
use cmp::{Ordering, PartialEq, PartialOrd, Eq, Ord}; |
use cmp::Ordering::{Less, Equal, Greater}; |
use cmp; |
use default::Default; |
use intrinsics::assume; |
use iter::*; |
use ops::{FnMut, self, Index}; |
use ops::RangeFull; |
use option::Option; |
use option::Option::{None, Some}; |
use result::Result; |
use result::Result::{Ok, Err}; |
use ptr; |
use mem; |
use marker::{Send, Sync, self}; |
use raw::Repr; |
use raw::Slice as RawSlice; |
Modules
bytes |
[Deprecated] Operations on |
Structs
Chunks |
An iterator over a slice in (non-overlapping) chunks ( |
ChunksMut |
An iterator over a slice in (non-overlapping) mutable chunks ( |
GenericSplitN |
An private iterator over subslices separated by elements that match a predicate function, splitting at most a fixed number of times. |
Iter |
Immutable slice iterator |
IterMut |
Mutable slice iterator. |
RSplitN |
An iterator over subslices separated by elements that match a predicate function, limited to a given number of splits, starting from the end of the slice. |
RSplitNMut |
An iterator over subslices separated by elements that match a predicate function, limited to a given number of splits, starting from the end of the slice. |
Split |
An iterator over subslices separated by elements that match a predicate function. |
SplitMut |
An iterator over the subslices of the vector which are separated
by elements that match |
SplitN |
An iterator over subslices separated by elements that match a predicate function, limited to a given number of splits. |
SplitNMut |
An iterator over subslices separated by elements that match a predicate function, limited to a given number of splits. |
Windows |
An iterator over overlapping subslices of length |
Traits
SliceExt |
[Unstable] Extension methods for slices. |
SplitIter |
An internal abstraction over the splitting iterators, so that splitn, splitn_mut etc can be implemented once. |
Functions
from_raw_parts |
Forms a slice from a pointer and a length. |
from_raw_parts_mut |
Performs the same functionality as |
size_from_ptr | |
slice_index_len_fail | |
slice_index_order_fail |