Module janetrs::table[][src]

Expand description

Janet table (mutable HashMap) type.

Structs

IntoIter

An iterator that moves out of a JanetTable.

Iter

An iterator over a reference to the JanetTable key-value pairs.

IterMut

An iterator over a mutable reference to the JanetTable key-value pairs.

JanetTable

Janet tables are mutable data structures that map keys to values. Values are put into a Janet table with a key, and can be looked up later with the same key. Tables are implemented with an underlying open hash table, so they are quite fast and cache friendly.

Keys

An iterator over a reference to the JanetTable keys.

OccupiedEntry

A view into an occupied entry in a JanetTable. It is part of the Entry enum.

VacantEntry

A view into a vacant entry in a JanetTable. It is part of the Entry enum.

Values

An iterator over a reference to the JanetTable values.

ValuesMut

An Iterator over a mutable reference to the JanetTable values.

Enums

Entry

A view into a single entry in a map, which may either be vacant or occupied.