pub struct NodeDiff<Id: Hash + Eq, T> { /* private fields */ }
Expand description
A diff between the nodes of a graph.
Implementations§
Trait Implementations§
Source§impl<Id: Hash + Eq + Copy, T: Default + AddAssign> AddAssign<NodeDiff<Id, T>> for GraphDiff<Id, T>
impl<Id: Hash + Eq + Copy, T: Default + AddAssign> AddAssign<NodeDiff<Id, T>> for GraphDiff<Id, T>
Source§fn add_assign(&mut self, nodes: NodeDiff<Id, T>)
fn add_assign(&mut self, nodes: NodeDiff<Id, T>)
Performs the
+=
operation. Read moreSource§impl<'de, Id, T> Deserialize<'de> for NodeDiff<Id, T>
impl<'de, Id, T> Deserialize<'de> for NodeDiff<Id, 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
impl<Id: Hash + Eq, T> StructuralPartialEq for NodeDiff<Id, T>
Auto Trait Implementations§
impl<Id, T> Freeze for NodeDiff<Id, T>
impl<Id, T> RefUnwindSafe for NodeDiff<Id, T>where
Id: RefUnwindSafe,
T: RefUnwindSafe,
impl<Id, T> Send for NodeDiff<Id, T>
impl<Id, T> Sync for NodeDiff<Id, T>
impl<Id, T> Unpin for NodeDiff<Id, T>
impl<Id, T> UnwindSafe for NodeDiff<Id, T>where
Id: UnwindSafe,
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