/// Gets the CellIndex of the given CellPosition based on its position in the memory layout
Gets the CellIndex of the given CellPosition based on its position in the memory layout
Gets the CellIndex of the given CellPosition based on its position in the memory layout
pub fn position(&mut self, pos: &CellPosition) -> CellIndex {
        let cells = self.get(&pos.associated_memory());
        debug_assert!(pos.offset() < cells.size());
        cells.position() + pos.offset()
    }
pub fn position ( & mut self , pos : & CellPosition ) -> CellIndex { let cells = self . get ( & pos . associated_memory ( ) ) ; debug_assert ! ( pos offset ( ) cells size ( ) ) ; cells . position ( ) + pos . offset ( ) }
Gets the CellIndex of the given CellPosition based on its position in the memory layout
Gets the CellIndex of the given CellPosition based on its position in the memory layout
&mut self
pos
&CellPosition