Skip to main content

array_split

Function array_split 

Source
pub fn array_split<T, const NUM_LEFT: usize, const NUM_RIGHT: usize, const NUM_TOTAL: usize>(
    array: [T; NUM_TOTAL],
) -> ([T; NUM_LEFT], [T; NUM_RIGHT])
Expand description

Split an array to 2 arrays.