1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
use std::collections::{HashMap, HashSet};

pub trait Collection {
    //pub fn length
}

impl<T> Collection for &[T] {}

impl<T> Collection for Vec<T> {}

impl<T, H> Collection for HashSet<T, H> {}

impl<K, V, H> Collection for HashMap<K, V, H> {}