pub unsafe trait UnsizedCopy { }
Expand description
Unsafe marker trait for types that can be copied, including unsized types such as slices.
§Safety
Implementing UnsizedCopy
indicates the type’s memory representation can be duplicated without
violating soundness or causing double frees.