Trait agnes::store::AddDataVec [−][src]
pub trait AddDataVec<T, DTypes> where
T: DataType<DTypes>,
DTypes: DTypeList,
DTypes::Storage: TypeSelector<DTypes, T>, { fn add_data_vec<I: Into<FieldIdent>, V: Into<Value<T>>>(
&mut self,
ident: I,
data: Vec<V>
) -> Result<()>; }
Trait for adding a vector of data (of valid types) to a DataStore
.
Required Methods
fn add_data_vec<I: Into<FieldIdent>, V: Into<Value<T>>>(
&mut self,
ident: I,
data: Vec<V>
) -> Result<()>
&mut self,
ident: I,
data: Vec<V>
) -> Result<()>
Add a vector of data values to the specified field.
Implementors
impl<DTypes, T> AddDataVec<T, DTypes> for DataStore<DTypes> where
T: 'static + DataType<DTypes> + Default + Clone,
DTypes: DTypeList,
DTypes::Storage: TypeSelector<DTypes, T> + DTypeSelector<DTypes, T>,