pub struct RgaNode<T: Clone + Ord> {
pub id: (NodeId, u64),
pub value: T,
pub deleted: bool,
}Expand description
A single node in the RGA sequence.
Fields§
§id: (NodeId, u64)Unique identifier: (actor, counter).
value: TThe element value.
deleted: boolWhether this element has been tombstoned (logically deleted).
Trait Implementations§
impl<T: Eq + Clone + Ord> Eq for RgaNode<T>
impl<T: Clone + Ord> StructuralPartialEq for RgaNode<T>
Auto Trait Implementations§
impl<T> Freeze for RgaNode<T>where
T: Freeze,
impl<T> RefUnwindSafe for RgaNode<T>where
T: RefUnwindSafe,
impl<T> Send for RgaNode<T>where
T: Send,
impl<T> Sync for RgaNode<T>where
T: Sync,
impl<T> Unpin for RgaNode<T>where
T: Unpin,
impl<T> UnsafeUnpin for RgaNode<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for RgaNode<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more