pub fn initialize<P: AsRef<Path>>(&mut self, path: P) -> Result<(), Box<dyn Error>> {
        let raw: DeserializedVariableEnvironment<f64> = Self::deserialize(path)?;
        let VariableEnvironment {
            array_list,
            name_to_id,
        } = Self::load_internal(raw)?;
        self.array_list = array_list;
        self.name_to_id = name_to_id;
        Ok(())
    }
/// Initialize this instance with the one that was previously persisted.
Initialize this instance with the one that was previously persisted.
Initialize this instance with the one that was previously persisted .
pub fn initialize<P: AsRef<Path>>(&mut self, path: P) -> Result<(), Box<dyn Error>> {
        let raw: DeserializedVariableEnvironment<f64> = Self::deserialize(path)?;
        let VariableEnvironment {
            array_list,
            name_to_id,
        } = Self::load_internal(raw)?;
        self.array_list = array_list;
        self.name_to_id = name_to_id;
        Ok(())
    }
pub fn initialize < P : AsRef < Path > > ( & mut self , path : P ) -> Result < ( ) , Box < dyn Error > > { let raw : DeserializedVariableEnvironment < f64 > = Self :: deserialize ( path ) ? ; let VariableEnvironment { array_list , name_to_id , } = Self :: load_internal ( raw ) ? ; self . array_list = array_list ; self . name_to_id = name_to_id ; Ok ( ( ) ) }
Initialize this instance with the one that was previously persisted.
Initialize this instance with the one that was previously persisted .
&mut self
path
P
&mut self
path
P