[no_vec] crate
Rust crate for modifying sized arrays. It contains some useful methods:
[T; n]::stick(T) -> [T; n+1]
Adds a new element to an array:
let arr: = .stick;
assert_eq!;
[T; n+1]::unstick() -> ([T; n], T)
Removes an element from an array:
let : = .unstick;
assert_eq!;
assert_eq!;
Vec<T>::concrete() -> [T]
Converts a vector to a sized array:
let arr: = vec!.concrete;
assert_eq!;
[T]::melt() -> Vec<T>
Converts a sized array to a vector:
let vec: = .melt;
assert_eq!;