Expand description
Small model helpers for applying completed drops to app-owned state.
The crate never touches your data: drops arrive as DropOutcomes and
you decide what they mean. These helpers cover the most common meaning,
the remove-from-source, append-to-target dance, without imposing bounds
on your item type: no Clone (the payload arrives owned), no
PartialEq (matching is by the key you extract).
Functionsยง
- apply_
clone_ or_ move - Apply a drop to a
HashMap<ZoneId, Vec<T>>model. - apply_
list_ clone_ or_ move - Apply a drop between two plain
Vec<T>lists.