Struct mcmf::Cost [−][src]
pub struct Cost(pub i32);
Wrapper type representing the cost of an edge in the graph.
Trait Implementations
impl Clone for Cost
[src]
impl Clone for Cost
fn clone(&self) -> Cost
[src]
fn clone(&self) -> Cost
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Cost
[src]
impl Copy for Cost
impl Debug for Cost
[src]
impl Debug for Cost
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for Cost
[src]
impl Eq for Cost
impl PartialEq for Cost
[src]
impl PartialEq for Cost