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.
Implementations on Foreign Types§
impl UnsizedCopy for str
impl UnsizedCopy for CStr
Available on crate feature
c_str only.