pub struct Match { /* private fields */ }Expand description
Match formatting class.
Match objects collect all the information needed to emit a Rust match
expression, automatically deduplicating overlapping identical arms.
Note that this class is ignorant of Rust types, and considers two fields with the same name to be equivalent. BTreeMap/BTreeSet are used to represent the arms in order to make the order deterministic.