Type erased vector [AnyVec]. Allow to store elements of the same type.
Have same performance and operations as [std::vec::Vec].
You can downcast type erased [AnyVec] to concrete [AnyVecTyped<Element>] with downcast-family.
[AnyVec] type erased operations return AnyValue, which you can use with other [AnyVec],
or cast to concrete type.
use AnyVec;
use AnyValue;
let mut vec: AnyVec = ;
let mut other_vec: AnyVec = ;
// Fully type erased element move from one vec to another
// without intermediate mem-copies.
let element = vec.swap_remove;
other_vec.push;
// Output 2 1
for s in vec..unwrap.as_slice
[AnyVec] is [Send]able if it's elements are.
[AnyVec] is [Sync]able if it's elements are.