1 2 3 4 5 6 7 8
use std::collections::HashMap; /// The value of the variable for calculations in runtime #[derive(Clone, Debug, PartialEq)] pub enum Variable { Map(HashMap<String, f32>), Number(f32), }
1 2 3 4 5 6 7 8
use std::collections::HashMap; /// The value of the variable for calculations in runtime #[derive(Clone, Debug, PartialEq)] pub enum Variable { Map(HashMap<String, f32>), Number(f32), }