Provides types and functions to access a constant number of elements from a slice.
```rust use crange::Range;
let fourelements = [0, 1, 2, 3, 4, 5][Range::<4>]; asserteq!([0, 1, 2, 3], four_elements);
let typeinference: [; 2] = [0, 1, 2][Range]; asserteq!([0, 1], typeinference);
let offset = [0, 1, 2, 3, 4, 5][1..][Range::<2>]; assert_eq!([1, 2], offset);
let mut mutable = [0, 1, 2, 3]; mutable[Range::<2>] = [1, 0]; assert_eq!([1, 0, 2, 3], mutable); ```
```rust use crange::RangeGet;
let elements = [1, 2, 3, 4, 5]; let two = elements.getrange::<2>(); asserteq!(Some(&[1, 2]), two);
let none = elements.getrangemut::<6>(); assert_eq!(None, none); ```
Licensed under either of Apache License, Version 2.0 or MIT License at your option.