pub struct Edge<V> {
pub to_vertex: usize,
pub value: V,
}
Expand description
An edge with a value.
Fields§
§to_vertex: usize
§value: V
Trait Implementations§
impl<V: Copy> Copy for Edge<V>
impl<V> StructuralPartialEq for Edge<V>
Auto Trait Implementations§
impl<V> Freeze for Edge<V>where
V: Freeze,
impl<V> RefUnwindSafe for Edge<V>where
V: RefUnwindSafe,
impl<V> Send for Edge<V>where
V: Send,
impl<V> Sync for Edge<V>where
V: Sync,
impl<V> Unpin for Edge<V>where
V: Unpin,
impl<V> UnwindSafe for Edge<V>where
V: 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