Add `TryFrom` conversions for `evalexpr::Value`
Closed this issue · 2 comments
jgrund commented
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.
ISibboI commented
Value
already implements From<X>
for all X
that can be value types.
You are asking to add impl TryFrom<Value> for X {...}
?
jgrund commented
You are asking to add
impl TryFrom<Value> for X {...}
?
Yes