Module attrs

Source
Expand description

This module implements Nix attribute sets, backed by Rust hash maps.

Structsยง

Iter
Iterator over a Nix attribute set.
Keys
NixAttrs
OwnedAttrsIterator
Wrapper type which hides the internal implementation details from users.

Enumsยง

IntoIterRepr
Internal representation of an owning attrset iterator
KeyValue
Iterator representation over the keys and values of an attribute set.
KeysInner ๐Ÿ”’

Functionsยง

set_attr ๐Ÿ”’
Set an attribute on an in-construction attribute set, while checking against duplicate keys.

Type Aliasesยง

AttrsRep ๐Ÿ”’