chiral-db 0.2.1

ChiralDB: a cheminformatics database written in Rust
Documentation
1
2
3
4
5
6
7
8
//! Helper Methods
//! 

extern crate cxx;

pub fn cxx_vector_into_vector<T: cxx::vector::VectorElement + Clone>(vec_cxx: &cxx::Vector<T>) -> Vec<T> {
    vec_cxx.iter().cloned().collect()
}