fn rebuild_line_cache(&mut self) {
        // Clear the cache
        self.line_cache = [[None; 10]; 144];

        // Rebuild it
        for i in 0..self.oam.len() {
            self.cache_sprite(i as u8);
        }
    }
/// Rebuild the entire Sprite cache for each line. This is pretty
/// expensive.
Rebuild the entire Sprite cache for each line. This is pretty
expensive.
Rebuild the entire Sprite cache for each line . This is pretty expensive .
fn rebuild_line_cache(&mut self) {
        // Clear the cache
        self.line_cache = [[None; 10]; 144];
        // Rebuild it
        for i in 0..self.oam.len() {
            self.cache_sprite(i as u8);
        }
    }
fn rebuild_line_cache ( & mut self ) { // Clear the cache self . line_cache = [ [ None ; 10 ] ; 144 ] ; // Rebuild it for i in 0 .. self . oam . len ( ) { self . cache_sprite ( i as u8 ) ; } }
Rebuild the entire Sprite cache for each line.
Rebuild the entire Sprite cache for each line .
&mut self
&mut self