Union BTreeEntrypub

Source
:union(pub) BTreeEntry k v
  | Occupied k v
  | Vacant k
Description

Result of an entry lookup on a BTreeMap. Occupied carries both the key and the current value; Vacant carries only the key. Real implementation requires (Ord k k); the stub union omits the bound for the same reason the method stubs do (see file-header note 2).

Variants

| Occupied k v
| Vacant k