[][src]Trait outils::types::WeightType

pub trait WeightType: Default + Debug + Copy + Eq + Ord + Add<Output = Self> + AddAssign { }

Super trait for types that are supported as tree node and vertex weights. This trait is implemented automatically for all types implementing the base traits

Note: In order for the algorithms in this library to work correctly, the implementation of Default must yield the neutral element to the operations of Add and AddAssign.

Implementors

impl<T> WeightType for T where
    T: Default + Debug + Copy + Eq + Ord + Add<Output = Self> + AddAssign
[src]

Loading content...