pub trait Melt<T> { // Required method fn melt(self) -> Vec<T>; }
Helps to covert [T] into Vec<T>.
[T]
Vec<T>
Converts from an array to a vector:
let vec: Vec<u16> = [123u16, 456].melt();