Returns ith value of this map array. This is a [`StructArray`] containing two fields Note: This method does not check for nulls and the value is arbitrary (but still well-defined) if [`is_null`](Self::is_null) returns true for the index. # Panics Panics if index `i` is out of bounds
(&self, i: usize)
| 216 | /// # Panics |
| 217 | /// Panics if index `i` is out of bounds |
| 218 | pub fn value(&self, i: usize) -> StructArray { |
| 219 | let end = self.value_offsets()[i + 1] as usize; |
| 220 | let start = self.value_offsets()[i] as usize; |
| 221 | self.entries.slice(start, end - start) |
| 222 | } |
| 223 | |
| 224 | /// Returns the offset values in the offsets buffer |
| 225 | #[inline] |