pub struct FlowEdge<W> { /* private fields */ }Expand description
Represent a flow edge with weight, flow and capacity.
Implementations§
Trait Implementations§
Source§impl<W> Edge<W> for FlowEdge<W>
For documentation about each function checkout Edge trait.
impl<W> Edge<W> for FlowEdge<W>
For documentation about each function checkout Edge trait.
Source§fn get_weight(&self) -> &Magnitude<W>
fn get_weight(&self) -> &Magnitude<W>
Returns Read more
Source§fn set_weight(&mut self, weight: Magnitude<W>)
fn set_weight(&mut self, weight: Magnitude<W>)
Arguments Read more
impl<W: Copy> Copy for FlowEdge<W>
Auto Trait Implementations§
impl<W> Freeze for FlowEdge<W>where
W: Freeze,
impl<W> RefUnwindSafe for FlowEdge<W>where
W: RefUnwindSafe,
impl<W> Send for FlowEdge<W>where
W: Send,
impl<W> Sync for FlowEdge<W>where
W: Sync,
impl<W> Unpin for FlowEdge<W>where
W: Unpin,
impl<W> UnwindSafe for FlowEdge<W>where
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