[−][src]Trait flatk::SplitOff
A helper trait to split owned sets into two sets at a given index.
This trait is used to implement iteration over Chunked
s.
Required methods
fn split_off(&mut self, mid: usize) -> Self
Split self into two sets at the given midpoint.
This function is analogous to Vec::split_off
.
self
contains elements [0, mid)
, and The returned Self
contains
elements [mid, len)
.
Implementations on Foreign Types
impl<S, T> SplitOff for (S, T) where
S: SplitOff,
T: SplitOff,
[src]
S: SplitOff,
T: SplitOff,