Skip to main content

oxilean_std/hashmap/
intervalmap_traits.rs

1//! # IntervalMap - Trait Implementations
2//!
3//! This module contains trait implementations for `IntervalMap`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Default`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11use super::types::IntervalMap;
12
13impl<T: Ord + Clone, V: Clone> Default for IntervalMap<T, V> {
14    fn default() -> Self {
15        Self {
16            intervals: Vec::new(),
17        }
18    }
19}