Returns ith value of this map array. Note: This method does not check for nulls and the value is arbitrary if [`is_null`](Self::is_null) returns true for the index. # Safety Caller must ensure that the index is within the array bounds
(&self, i: usize)
| 200 | /// # Safety |
| 201 | /// Caller must ensure that the index is within the array bounds |
| 202 | pub unsafe fn value_unchecked(&self, i: usize) -> StructArray { |
| 203 | let end = *unsafe { self.value_offsets().get_unchecked(i + 1) }; |
| 204 | let start = *unsafe { self.value_offsets().get_unchecked(i) }; |
| 205 | self.entries |
| 206 | .slice(start.to_usize().unwrap(), (end - start).to_usize().unwrap()) |
| 207 | } |
| 208 | |
| 209 | /// Returns ith value of this map array. |
| 210 | /// |
no test coverage detected