fn into_iter(self) -> Self::IntoIter {
        // Check the option value
        match self.vector {
            // Panic if GetOption::None is returned
            None => panic!("could not create grid iterator!"),
            // Create GridIterator with the grid
            Some(gridvector) => {
                GridScanner::<CellGrid<T>> {
                    gridvector,
                    current_column: 0,
                    current_row: 0,
                }
            }
        }
    }
/// A method that creates an iterator for the CellGrid.
A method that creates an iterator for the CellGrid.
A method that creates an iterator for the CellGrid .
fn into_iter(self) -> Self::IntoIter {
        // Check the option value
        match self.vector {
            // Panic if GetOption::None is returned
            None => panic!("could not create grid iterator!"),
            // Create GridIterator with the grid
            Some(gridvector) => {
                GridScanner::<CellGrid<T>> {
                    gridvector,
                    current_column: 0,
                    current_row: 0,
                }
            }
        }
    }
fn into_iter ( self ) -> Self :: IntoIter { // Check the option value match self . vector { // Panic if GetOption::None is returned None => panic ! ( " " ) , // Create GridIterator with the grid Some ( gridvector ) => { GridScanner :: < CellGrid < T > > { gridvector , current_column : 0 , current_row : 0 , } } } }
A method that creates an iterator for the CellGrid.
A method that creates an iterator for the CellGrid .
self
self