Function mz_repr::row::datums_size
source · pub fn datums_size<'a, I, D>(iter: I) -> usizewhere
I: IntoIterator<Item = D>,
D: Borrow<Datum<'a>>,
Expand description
Number of bytes required by a sequence of datums.
This method can be used to right-size the allocation for a Row
before calling RowPacker::extend
.