pub struct RGAListDelta<T: Clone + PartialEq> {
pub inserts: Vec<ListNode<T>>,
pub deletes: Vec<ListId>,
}Expand description
Delta for RGA list operations.
Fields§
§inserts: Vec<ListNode<T>>Nodes to insert.
deletes: Vec<ListId>IDs of nodes to delete.
Implementations§
Trait Implementations§
Source§impl<T: Clone + Clone + PartialEq> Clone for RGAListDelta<T>
impl<T: Clone + Clone + PartialEq> Clone for RGAListDelta<T>
Source§fn clone(&self) -> RGAListDelta<T>
fn clone(&self) -> RGAListDelta<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de, T> Deserialize<'de> for RGAListDelta<T>
impl<'de, T> Deserialize<'de> for RGAListDelta<T>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<T> Serialize for RGAListDelta<T>
impl<T> Serialize for RGAListDelta<T>
impl<T: Clone + PartialEq> StructuralPartialEq for RGAListDelta<T>
Auto Trait Implementations§
impl<T> Freeze for RGAListDelta<T>
impl<T> RefUnwindSafe for RGAListDelta<T>where
T: RefUnwindSafe,
impl<T> Send for RGAListDelta<T>where
T: Send,
impl<T> Sync for RGAListDelta<T>where
T: Sync,
impl<T> Unpin for RGAListDelta<T>where
T: Unpin,
impl<T> UnwindSafe for RGAListDelta<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