pub struct Edge<Data> {
pub nodes: (NodeIndex, NodeIndex),
pub data: Data,
}
Expand description
A struct representing an edge between two nodes.
Fields§
§nodes: (NodeIndex, NodeIndex)
§data: Data
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<Data> Freeze for Edge<Data>where
Data: Freeze,
impl<Data> RefUnwindSafe for Edge<Data>where
Data: RefUnwindSafe,
impl<Data> Send for Edge<Data>where
Data: Send,
impl<Data> Sync for Edge<Data>where
Data: Sync,
impl<Data> Unpin for Edge<Data>where
Data: Unpin,
impl<Data> UnwindSafe for Edge<Data>where
Data: 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