Open Saethox opened 1 year ago
Serializing PhantomData<T> through serializing std::any::type_name::<T> doesn't seem to be possible with ron==0.8.1.
PhantomData<T>
std::any::type_name::<T>
ron==0.8.1
I'm not sure how to serialize PhantomData otherwise, just omitting would completely erase T, which would lose information.
PhantomData
T
Serializing
PhantomData<T>
through serializingstd::any::type_name::<T>
doesn't seem to be possible withron==0.8.1
.I'm not sure how to serialize
PhantomData
otherwise, just omitting would completely eraseT
, which would lose information.