ISibboI/evalexpr

Add `TryFrom` conversions for `evalexpr::Value`

Closed this issue · 2 comments

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.

Value already implements From<X> for all X that can be value types.

You are asking to add impl TryFrom<Value> for X {...}?

You are asking to add impl TryFrom<Value> for X {...}?

Yes