Trait dsalgo::graph::edge::Weight

source ·
pub trait Weight<T> {
    // Required method
    fn weight(&self) -> &T;
}

Required Methods§

source

fn weight(&self) -> &T

Implementations on Foreign Types§

source§

impl<T: Weight<U>, U> Weight<U> for (usize, usize, T)

source§

fn weight(&self) -> &U

source§

impl Weight<u64> for u64

source§

fn weight(&self) -> &Self

source§

impl Weight<i64> for i64

source§

fn weight(&self) -> &Self

Implementors§