pub fn from_vec(from: Vec<K>) -> Self {
        let mut ret = LinkedHashSet::new();

        for ele in from {
            ret.insert(ele);
        }

        ret
    }
/// consumes a vector to a LinkedHashSet (removes duplicated elements)
consumes a vector to a LinkedHashSet (removes duplicated elements)
consumes a vector to a LinkedHashSet ( removes duplicated elements )
pub fn from_vec(from: Vec<K>) -> Self {
        let mut ret = LinkedHashSet::new();
        for ele in from {
            ret.insert(ele);
        }
        ret
    }
pub fn from_vec ( from : Vec < K > ) -> Self { let mut ret = LinkedHashSet :: new ( ) ; for ele in from { ret . insert ( ele ) ; } ret }
consumes a vector to a LinkedHashSet (removes duplicated elements)
consumes a vector to a LinkedHashSet ( removes duplicated elements )
from
Vec<K>
from
Vec<K>