[][src]Function croaring_sys_mw::container_clone

pub unsafe extern "C" fn container_clone(
    container: *const c_void,
    typecode: u8
) -> *mut c_void

Copies a container, requires a typecode. This allocates new memory, caller is responsible for deallocation. If the container is not shared, then it is physically cloned. Sharable containers are not cloneable.