[−][src]Function flatdata::create_multi_vector
pub fn create_multi_vector<'a, Idx, Ts>(
storage: &'a dyn ResourceStorage,
resource_name: &str,
schema: &str
) -> Result<MultiVector<'a, Idx, Ts>> where
Idx: for<'b> IndexStruct<'b>,
Ts: for<'b> VariadicStruct<'b>,
Helper for creating a multivector in the given resource storage.
Creates a new resource with given name and schema in storage, and returns
an MultiVector
using this resource for writing and flushing data to
storage.