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