Function wrap_vec_elements

Source
unsafe fn wrap_vec_elements<S: AbstractStored>(
    values: Vec<S::BareTy>,
    id: StoreId,
) -> Vec<S>
Expand description

Helper method for associating every element in a Vec with a StoreId.

ยงSafety

It must be guaranteed that all given elements come from the Store with the given StoreId.