[][src]Trait munkres::weight_num::WeightNum

pub trait WeightNum: PartialOrd + Copy + Sub<Output = Self> + Add<Output = Self> {
    pub fn is_zero(&self) -> bool;

    pub fn is_valid(&self) -> bool { ... }
pub fn add_if_valid(self, other: Self) -> Self { ... }
pub fn sub_if_valid(self, other: Self) -> Self { ... } }

Required methods

pub fn is_zero(&self) -> bool[src]

Loading content...

Provided methods

pub fn is_valid(&self) -> bool[src]

pub fn add_if_valid(self, other: Self) -> Self[src]

pub fn sub_if_valid(self, other: Self) -> Self[src]

Loading content...

Implementations on Foreign Types

impl WeightNum for usize[src]

impl WeightNum for isize[src]

impl WeightNum for u64[src]

impl WeightNum for i64[src]

impl WeightNum for u32[src]

impl WeightNum for i32[src]

impl WeightNum for u16[src]

impl WeightNum for i16[src]

impl WeightNum for u8[src]

impl WeightNum for i8[src]

impl WeightNum for f64[src]

impl WeightNum for f32[src]

Loading content...

Implementors

Loading content...