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§
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