x-variant
Variant is a dynamic type container that can hold any type of value, and can change the type at runtime.
Example
[]
= "0.1"
use Variant;
let mut v = new;
v.set;
i: i32 = v.get;
v.set;
// Array
let mut v = new;
v = "test".into;
// Dictionary
let mut v = new;
v = "value".into;
v = 3.1415926f64.into;