pub fn batches(&self) -> DataGeneratorBatchIter {
        DataGeneratorBatchIter {
            config: self.clone(),
            batch_idx: 0,
        }
    }
/// Returns an [Iterator] of all records in batches.
Returns an [Iterator] of all records in batches.
Returns an [ Iterator ] of all records in batches .
pub fn batches(&self) -> DataGeneratorBatchIter {
        DataGeneratorBatchIter {
            config: self.clone(),
            batch_idx: 0,
        }
    }
pub fn batches ( & self ) -> DataGeneratorBatchIter { DataGeneratorBatchIter { config : self . clone ( ) , batch_idx : 0 , } }
Returns an [Iterator] of all records in batches.
Returns an [ Iterator ] of all records in batches .
&self
&self