(&self, id: &ArrayId)
| 152 | } |
| 153 | |
| 154 | pub fn store(&self, id: &ArrayId) -> ArrayEngineResult<&ArrayStore> { |
| 155 | self.arrays |
| 156 | .get(id) |
| 157 | .ok_or_else(|| ArrayEngineError::UnknownArray(format!("{:?}", id))) |
| 158 | } |
| 159 | |
| 160 | pub fn store_mut(&mut self, id: &ArrayId) -> ArrayEngineResult<&mut ArrayStore> { |
| 161 | self.arrays |