Skip to main content

Module keyed

Module keyed 

Source
Expand description

KeyedList operations for slug-based array access.

Structs§

Addressing
How a non-numeric path segment resolves against an array.
ArrayRule
A format’s built-in rule for resolving a non-numeric segment against an array: compare the segment to field on each element.
KeyedList
Declares that an array at prefix is keyed by slug_field.

Enums§

MatchKind
How an ArrayRule compares a segment to an element’s field.

Functions§

add_keyed
Add a new element to a keyed list.
remove_keyed
Remove the unique element named by slug and return its former index.