pub trait RefClone {
// Required method
fn ref_clone(&mut self) -> Self;
}
Expand description
Duplicate an object without deep copy, but to only add the refcount, for php refcount struct.
Required Methods§
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.