to_trace

Function to_trace 

Source
pub(crate) unsafe fn to_trace<T: StorageItem>(t: &T) -> PointerId<T::Marker>
Available on (crate features trace or replay) and crate feature trace only.
Expand description

This will work as expected on heap-allocated types that are not moved around.