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