pub trait Level {
    const NAME: &'static str;
    const SUBLEVELS: usize;
    const INDEX_SHIFT: usize = 12 + 9 * Self::SUBLEVELS;

    fn table_addr(v: VAddr) -> VAddr;

    fn index_of(v: VAddr) -> usize { ... }
}

Required Associated Constants§

Provided Associated Constants§

Required Methods§

Provided Methods§

Implementors§