pub fn neighbors(self) -> [Index; 8] {
        [
            self.up().left(),
            self.up(),
            self.up().right(),
            self.right(),
            self.down().right(),
            self.down(),
            self.down().left(),
            self.left(),
        ]
    }
/// The neighboring indices for this index.
The neighboring indices for this index.
The neighboring indices for this index .
pub fn neighbors(self) -> [Index; 8] {
        [
            self.up().left(),
            self.up(),
            self.up().right(),
            self.right(),
            self.down().right(),
            self.down(),
            self.down().left(),
            self.left(),
        ]
    }
pub fn neighbors ( self ) -> [ Index ; 8 ] { [ self . up ( ) . left ( ) , self . up ( ) , self . up ( ) . right ( ) , self . right ( ) , self . down ( ) . right ( ) , self . down ( ) , self . down ( ) . left ( ) , self . left ( ) , ] }
The neighboring indices for this index.
The neighboring indices for this index .
self
self