Closed jgrund closed 2 years ago
It would be useful if evalexpr::Value implemented TryFrom for it's underlying enum values. Right now there are a few as_* methods to get at the underlying type.
evalexpr::Value
as_*
Value already implements From<X> for all X that can be value types.
Value
From<X>
X
You are asking to add impl TryFrom<Value> for X {...}?
impl TryFrom<Value> for X {...}
Yes
It would be useful if
evalexpr::Value
implemented TryFrom for it's underlying enum values. Right now there are a fewas_*
methods to get at the underlying type.