pub struct Edge<V, W> {
pub from: V,
pub to: V,
pub weight: W,
}Expand description
MulGraphの辺
Fields§
§from: V始点
to: V終点
weight: W重み
Implementations§
Trait Implementations§
impl<V: Eq, W: Eq> Eq for Edge<V, W>
impl<V, W> StructuralPartialEq for Edge<V, W>
Auto Trait Implementations§
impl<V, W> Freeze for Edge<V, W>
impl<V, W> RefUnwindSafe for Edge<V, W>where
V: RefUnwindSafe,
W: RefUnwindSafe,
impl<V, W> Send for Edge<V, W>
impl<V, W> Sync for Edge<V, W>
impl<V, W> Unpin for Edge<V, W>
impl<V, W> UnwindSafe for Edge<V, W>where
V: 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