rdkit_sys/bridge/
periodic_table.rs

1
2
3
4
5
6
7
8
#[cxx::bridge(namespace = "RDKit")]
pub mod ffi {
    unsafe extern "C++" {
        include!("wrapper/include/periodic_table.h");
        pub fn get_valence_list(atomic_number: u32) -> &'static CxxVector<i32>;
        pub fn get_most_common_isotope_mass(atom: &CxxString) -> f64;
    }
}