Return the value of `keys` (the dictionary key) at index `i`, cast to `usize`, `None` if the value at `i` is `NULL`.
(&self, i: usize)
| 403 | /// Return the value of `keys` (the dictionary key) at index `i`, |
| 404 | /// cast to `usize`, `None` if the value at `i` is `NULL`. |
| 405 | pub fn key(&self, i: usize) -> Option<usize> { |
| 406 | self.keys.is_valid(i).then(|| self.keys.value(i).as_usize()) |
| 407 | } |
| 408 | |
| 409 | /// Returns a zero-copy slice of this array with the indicated offset and length. |
| 410 | pub fn slice(&self, offset: usize, length: usize) -> Self { |