sklears_utils/data_structures/weightedgraph_traits.rs
1//! # WeightedGraph - Trait Implementations
2//!
3//! This module contains trait implementations for `WeightedGraph`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Default`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11use super::types::WeightedGraph;
12use std::hash::Hash;
13
14impl<T: Clone + Eq + Hash, W: Clone + PartialOrd> Default for WeightedGraph<T, W> {
15 fn default() -> Self {
16 Self::new()
17 }
18}