aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2020-02-11 00:12:45 -0800
committeriximeow <me@iximeow.net>2020-02-11 00:12:45 -0800
commitf08c8bbf9f180283490fc7a4e116e8fa0ffcc681 (patch)
tree7a52640ef668531a03087abb30c73dddc8993470 /src/lib.rs
parent076d2fa68216533b54a3c514433226b6ac77b50d (diff)
derive Ord and PartialOrd for RegSpec and RegisterBank
this makes these usable as keys in collections such as BTreeMap. there is no specific ordering imposed by Ord (f.ex it may be the case that `eax > dx` while `eax > rax`), but some specific ordering may be imposed in the future.
Diffstat (limited to 'src/lib.rs')
0 files changed, 0 insertions, 0 deletions