[][src]Function ejdb_sys::bson_copy

pub unsafe extern "C" fn bson_copy(out: *mut bson, in_: *const bson) -> c_int

Make a complete copy of the a BSON object. The source bson object must be in a finished state; otherwise, the copy will fail.

@param out the copy destination BSON object. @param in the copy source BSON object.