fn downcast_value<I: Any, O: Sized + 'static>(input: I) -> Result<O, I>Expand description
Try to cast I (which is presumably a TAIT) to O (presumably a concrete type)
We use runtime casting, but typically the answer is known at compile time.
Astonishingly, this isn’t in any of the following:
stdmatch-downcastbetter_any(downcast:movecomes close but doesn’t give you yourselfback)castawaymopaas_any