pub struct MinCostFlowEdge<T> {
pub from: usize,
pub to: usize,
pub cap: T,
pub flow: T,
pub cost: T,
}
Fields§
§from: usize
§to: usize
§cap: T
§flow: T
§cost: T
Trait Implementations§
Source§impl<T: Clone> Clone for MinCostFlowEdge<T>
impl<T: Clone> Clone for MinCostFlowEdge<T>
Source§fn clone(&self) -> MinCostFlowEdge<T>
fn clone(&self) -> MinCostFlowEdge<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<T> Freeze for MinCostFlowEdge<T>where
T: Freeze,
impl<T> RefUnwindSafe for MinCostFlowEdge<T>where
T: RefUnwindSafe,
impl<T> Send for MinCostFlowEdge<T>where
T: Send,
impl<T> Sync for MinCostFlowEdge<T>where
T: Sync,
impl<T> Unpin for MinCostFlowEdge<T>where
T: Unpin,
impl<T> UnwindSafe for MinCostFlowEdge<T>where
T: 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