pub unsafe trait CloneableCartablePointerLike: CartablePointerLike { }
Expand description
An object that implements CartablePointerLike
that also
supports cloning without changing the address of referenced data.
§Safety
Implementer safety:
addref_raw
must create a new owner such that an additional call todrop_raw
does not create a dangling pointeraddref_raw
must not change the address of any referenced data.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.