fn next_table_address(&self, index: usize) -> Option<usize> {
        let flags = self.entries[index].flags();

        // Would be invalid if we refer to a huge page
        debug_assert!(!flags.contains(EntryFlags::HUGE_PAGE));

        if flags.contains(EntryFlags::PRESENT) {
            Some(self.next_table_address_unchecked(index))
        } else {
            None
        }
    }
/// Gets the next table address.
Gets the next table address.
Gets the next table address .
fn next_table_address(&self, index: usize) -> Option<usize> {
        let flags = self.entries[index].flags();
        // Would be invalid if we refer to a huge page
        debug_assert!(!flags.contains(EntryFlags::HUGE_PAGE));
        if flags.contains(EntryFlags::PRESENT) {
            Some(self.next_table_address_unchecked(index))
        } else {
            None
        }
    }
fn next_table_address ( & self , index : usize ) -> Option < usize > { let flags = self . entries [ index ] . flags ( ) ; // Would be invalid if we refer to a huge page debug_assert ! ( flags contains ( EntryFlags HUGE_PAGE ) ) ; if flags . contains ( EntryFlags :: PRESENT ) { Some ( self . next_table_address_unchecked ( index ) ) } else { None } }
Gets the next table address.
Gets the next table address .
&self
index
usize
&self
index
usize