pub struct OperationEdge {
pub from: u32,
pub to: u32,
pub kind: OperationEdgeKind,
}Expand description
A directed graph edge addressed by graph-local node positions.
Fields§
§from: u32Zero-based source node position.
to: u32Zero-based target node position.
kind: OperationEdgeKindThe dependency relation.
Trait Implementations§
Source§impl Clone for OperationEdge
impl Clone for OperationEdge
Source§fn clone(&self) -> OperationEdge
fn clone(&self) -> OperationEdge
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OperationEdge
impl Debug for OperationEdge
Source§impl<'de> Deserialize<'de> for OperationEdge
impl<'de> Deserialize<'de> for OperationEdge
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 Eq for OperationEdge
Source§impl Ord for OperationEdge
impl Ord for OperationEdge
Source§fn cmp(&self, other: &OperationEdge) -> Ordering
fn cmp(&self, other: &OperationEdge) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OperationEdge
impl PartialEq for OperationEdge
Source§impl PartialOrd for OperationEdge
impl PartialOrd for OperationEdge
Source§impl Serialize for OperationEdge
impl Serialize for OperationEdge
impl StructuralPartialEq for OperationEdge
Auto Trait Implementations§
impl Freeze for OperationEdge
impl RefUnwindSafe for OperationEdge
impl Send for OperationEdge
impl Sync for OperationEdge
impl Unpin for OperationEdge
impl UnsafeUnpin for OperationEdge
impl UnwindSafe for OperationEdge
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.