pub fn molecules_mut(&mut self) -> MoleculeIterMut<'_> {
        let ptr = self.particles.as_mut_ptr();
        let end = unsafe {
            ptr.add(self.particles.len())
        };
        MoleculeIterMut {
            bondings: self.bondings.iter(),
            ptr: ptr,
            end: end,
            _marker: PhantomData,
        }
    }
/// Get an iterator over the molecules in the configuration.
Get an iterator over the molecules in the configuration.
Get an iterator over the molecules in the configuration .
pub fn molecules_mut(&mut self) -> MoleculeIterMut<'_> {
        let ptr = self.particles.as_mut_ptr();
        let end = unsafe {
            ptr.add(self.particles.len())
        };
        MoleculeIterMut {
            bondings: self.bondings.iter(),
            ptr: ptr,
            end: end,
            _marker: PhantomData,
        }
    }
pub fn molecules_mut ( & mut self ) -> MoleculeIterMut < ' _ > { let ptr = self . particles . as_mut_ptr ( ) ; let end = unsafe { ptr . add ( self . particles . len ( ) ) } ; MoleculeIterMut { bondings : self . bondings . iter ( ) , ptr : ptr , end : end , _marker : PhantomData , } }
Get an iterator over the molecules in the configuration.
Get an iterator over the molecules in the configuration .
&mut self