[−][src]Trait outils::types::WeightType
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]
T: Default + Debug + Copy + Eq + Ord + Add<Output = Self> + AddAssign,