pub fn to_vec(mut self) -> Vec<K> {
        let mut ret = vec![];

        while !self.is_empty() {
            ret.push(self.pop_front().unwrap());
        }

        ret
    }
/// consumes the LinkedHashSet to a vector
consumes the LinkedHashSet to a vector
consumes the LinkedHashSet to a vector
pub fn to_vec(mut self) -> Vec<K> {
        let mut ret = vec![];
        while !self.is_empty() {
            ret.push(self.pop_front().unwrap());
        }
        ret
    }
pub fn to_vec ( mut self ) -> Vec < K > { let mut ret = vec ! [ ] ; while ! self . is_empty ( ) { ret . push ( self . pop_front ( ) . unwrap ( ) ) ; } ret }
consumes the LinkedHashSet to a vector
consumes the LinkedHashSet to a vector
mut self
mut self