pub fn lookup_dimension(key: &str) -> Option<Dimension>
a variant of lookup_value that casts the value into Dimension
lookup_value
Dimension