The length of the dictionary is the length of the keys array.
(&self)
| 382 | |
| 383 | /// The length of the dictionary is the length of the keys array. |
| 384 | pub fn len(&self) -> usize { |
| 385 | self.keys.len() |
| 386 | } |
| 387 | |
| 388 | /// Whether this dictionary is empty |
| 389 | pub fn is_empty(&self) -> bool { |
no outgoing calls