pub unsafe extern "C" fn rb_obj_init_copy(
src: VALUE,
dst: VALUE,
) -> VALUEExpand description
Default implementation of #initialize_copy, #initialize_dup and
#initialize_clone. It does almost nothing. Just raises exceptions for
checks.
ยง@param[in] dst The destination object.
@param[in] src The source object.
@exception rb_eFrozenError dst is frozen.
@exception rb_eTypeError dst and src have different classes.
@return Always returns dst.
Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3