ord/eq for AtomicObject
This commit is contained in:
parent
03808158eb
commit
bc3d33673f
@ -7,8 +7,8 @@ use crate::atomic::*;
|
|||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
/// Generic implementation of a [Mentionable] for [Atomic]s.
|
/// Generic implementation of a [Mentionable] for [Atomic]s.
|
||||||
#[derive(Clone)]
|
#[derive(Clone, PartialEq, Eq, PartialOrd, Ord)]
|
||||||
pub struct AtomicObject<A: AtomicBase> {
|
pub struct AtomicObject<A> {
|
||||||
atomic: A,
|
atomic: A,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user