Skip to main content

list_slice

Function list_slice 

Source
pub fn list_slice<T: Clone>(list: Vec<T>, start: i64, end: i64) -> Vec<T>
Expand description

Slice a list by indices (bounds-safe). Indices are inclusive start, exclusive end.