Skip to main content

split

Function split 

Source
fn split<T>(slice: &mut [T], len: usize) -> Option<(&mut [T], &mut [T])>
Expand description

Splits len elements off the front of slice, or None if it is too short.