Derive PartialOrd for AttrValue so we can compare them directly when updating numeric attributes.
This commit is contained in:
parent
d77871e44e
commit
6eca0b307c
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ bitflags! {
|
|||
* - instead of arrays, can use linked-lists to conserve space and avoid the internal fragmentation
|
||||
*/
|
||||
|
||||
#[derive(PartialEq, Clone)]
|
||||
#[derive(PartialEq, PartialOrd, Clone)]
|
||||
pub enum AttrValue {
|
||||
Int64(i64),
|
||||
Uint8(u8),
|
||||
|
|
Loading…
Add table
Reference in a new issue