Trait rle::Searchable[][src]

pub trait Searchable {
    type Item: Copy + Debug;
    fn contains(&self, loc: Self::Item) -> Option<usize>;
fn at_offset(&self, offset: usize) -> Self::Item; }

Associated Types

Required methods

Checks if the entry contains the specified item. If it does, returns the offset into the item.

Implementors