pub trait CloneUnsafe {
// Required method
unsafe fn clone_unsafe(&self) -> Self;
}Required Methods§
Sourceunsafe fn clone_unsafe(&self) -> Self
unsafe fn clone_unsafe(&self) -> Self
§Safety
Caller must ensure proper ownership semantics
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.