Trait IdIndexSource

Source
pub trait IdIndexSource<P> {
    type Entry;

    // Required method
    fn entry_at(&self, pointer: &P) -> Self::Entry;
}
Expand description

Source table for IdIndex to map pointer of type P to entry.

Required Associated Types§

Required Methods§

Source

fn entry_at(&self, pointer: &P) -> Self::Entry

Implementations on Foreign Types§

Source§

impl<'a> IdIndexSource<u32> for &'a [(CommitId, ChangeId)]

Source§

type Entry = &'a (CommitId, ChangeId)

Source§

fn entry_at(&self, pointer: &u32) -> Self::Entry

Implementors§