rdk_sys/bindings/atom.rs
1#[cxx::bridge(namespace = "RDKit")]
2pub mod ffi {
3
4 unsafe extern "C++" {
5 include!("cpp/include/ro_mol.h");
6 include!("cpp/include/atom.h");
7
8 pub type Atom;
9 pub type ROMol = crate::ro_mol_ffi::ROMol;
10
11 pub fn atom_from_symbol(symbol: &CxxString) -> Result<SharedPtr<Atom>>;
12 pub fn get_symbol(atom: SharedPtr<Atom>) -> String;
13 }
14}