Trait phper_alloc::ToRefOwned
source · pub trait ToRefOwned {
type Owned: Borrow<Self>;
fn to_ref_owned(&mut self) -> Self::Owned;
}
Expand description
Duplicate an object without deep copy, but to only add the refcount, for php refcount struct.