Struct microkelvin::BranchMut [−][src]
pub struct BranchMut<'a, C, A>(_);
Expand description
Reprents a branch view into a collection.
BranchMut allows you to manipulate the value of the leaf, but disallows manipulating the branch nodes directly, to avoid breaking any datastructure invariants.
Branches are always guaranteed to point at a leaf, and can be dereferenced to the pointed-at leaf.
Implementations
Returns a branch that maps the leaf to a specific value. Used in maps for example, to get easy access to the value of the KV-pair