Function cassandra_cpp_sys::cass_collection_new_from_data_type [] [src]

pub unsafe extern "C" fn cass_collection_new_from_data_type(
    data_type: *const CassDataType,
    item_count: usize
) -> *mut CassCollection

Creates a new collection from an existing data type.

@public @memberof CassCollection

@param[in] data_type @param[in] item_count The approximate number of items in the collection. @return Returns a collection that must be freed.

@see cass_collection_free();