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