pub fn molecule(&self, id: usize) -> MoleculeRef<'_> {
        let bonding = &self.bondings[id];
        let particles = self.particles.slice(bonding.indexes());
        MoleculeRef::new(bonding, particles)
    }
/// Get the molecule at index `id`
Get the molecule at index `id`
Get the molecule at index ` id `
pub fn molecule(&self, id: usize) -> MoleculeRef<'_> {
        let bonding = &self.bondings[id];
        let particles = self.particles.slice(bonding.indexes());
        MoleculeRef::new(bonding, particles)
    }
pub fn molecule ( & self , id : usize ) -> MoleculeRef < ' _ > { let bonding = & self . bondings [ id ] ; let particles = self . particles . slice ( bonding . indexes ( ) ) ; MoleculeRef :: new ( bonding , particles ) }
Get the molecule at index `id`
Get the molecule at index ` id `
&self
id
usize