I have value of type T in value: Box<dyn Any> and want to extract it. The only way I found is this:
let pv = value.downcast_mut::<T>();
let v = std::mem::replace(pv, T::default());
Is there a way to get v without requiring T to implement Default?