Skip to main content

PageMap

Trait PageMap 

Source
pub trait PageMap {
    // Required method
    fn get_page(&self, id: &PageId) -> Option<&Page>;
}

Required Methods§

Source

fn get_page(&self, id: &PageId) -> Option<&Page>

Implementations on Foreign Types§

Source§

impl PageMap for HashMap<PageId, Arc<Page>>

Source§

fn get_page(&self, id: &PageId) -> Option<&Page>

Source§

impl PageMap for HashMap<PageId, Page>

Source§

fn get_page(&self, id: &PageId) -> Option<&Page>

Implementors§