pub trait SplitAtMut<Idx>: IndexRangeMut<Idx> + SplitAt<Idx> {
// Required method
fn split_at_mut(
&mut self,
index: Idx,
) -> (&mut <Self as Index<RangeFull>>::Output, &mut <Self as Index<RangeFull>>::Output);
}Expand description
A trait for splitting a collection into two mutable pieces at a given index.
Splitting a collection must take a constant amount of time and space.