Module abi_stable::std_types::map

source ·
Expand description

Contains the ffi-safe equivalent of std::collections::HashMap, and related items.

Structs

  • An iterator that yields all the entries of an RHashMap, deallocating the hashmap afterwards.
  • An iterator over the keys of a RHashMap.
  • The InterfaceType of the IterMut iterator for RHashMap.
  • An ffi-safe hashmap, which wraps std::collections::HashMap<K, V, S>, only requiring the K: Eq + Hash bounds when constructing it.
  • A handle into an occupied entry in a map.
  • A handle into a vacant entry in a map.
  • The InterfaceType of the Iter iterator for RHashMap.
  • The InterfaceType of the Drain iterator for RHashMap.
  • An iterator over the values of a HashMap.

Enums

  • A handle into an entry in a map, which is either vacant or occupied.

Type Aliases

  • An RHashMap iterator, implementing Iterator<Item= Tuple2< K, V > > + !Send + !Sync
  • An RHashMap iterator, implementing Iterator<Item= Tuple2< &K, &V > > + !Send + !Sync + Clone
  • An RHashMap iterator, implementing Iterator<Item= Tuple2< &K, &mut V > > + !Send + !Sync