/// An identifier for a cacheable element
#[derive(Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]pubstructCacheKey(usize);implCacheKey{/// Create a `CacheKey` from a pointer representing an element to be serialized
pubfnfrom_ptr<T>(p:*const T)->Self{Self(p asusize)}}