(&self, index: usize)
| 947 | type Item = <&'a V as ArrayAccessor>::Item; |
| 948 | |
| 949 | fn value(&self, index: usize) -> Self::Item { |
| 950 | assert!( |
| 951 | index < self.len(), |
| 952 | "Trying to access an element at index {} from a TypedDictionaryArray of length {}", |
| 953 | index, |
| 954 | self.len() |
| 955 | ); |
| 956 | unsafe { self.value_unchecked(index) } |
| 957 | } |
| 958 | |
| 959 | unsafe fn value_unchecked(&self, index: usize) -> Self::Item { |
| 960 | let val = unsafe { self.dictionary.keys.value_unchecked(index) }; |
no test coverage detected