/// Read a .structure directory.
/// Relative paths are intepreted relative to the trial directory.
Read a .structure directory.
Relative paths are intepreted relative to the trial directory.
Read a . structure directory . Relative paths are intepreted relative to the trial directory .
fn read_stored_structure_data(
        &self,
        dir: impl AsPath,
    ) -> FailResult<(
        Coords,
        HList5<
            meta::SiteElements,
            meta::SiteMasses,
            Option<meta::SiteLayers>,
            Option<meta::LayerScMatrices>,
            Option<meta::FracBonds>,
        >,
    )>
    {Ok({
        let stored = self.read_stored_structure(dir)?;
        let meta = stored.meta();
        (stored.coords, meta)
    })}
fn read_stored_structure_data ( & self , dir : impl AsPath , ) -> FailResult < ( Coords , HList5 < meta :: SiteElements , meta :: SiteMasses , Option < meta :: SiteLayers > , Option < meta :: LayerScMatrices > , Option < meta :: FracBonds > , > , ) > { Ok ( { let stored = self . read_stored_structure ( dir ) ? ; let meta = stored . meta ( ) ; ( stored . coords , meta ) } ) }
Read a .structure directory.
Read a . structure directory .
&self
dir
impl AsPath