fn search_kmer(&self, kmer: K, side: Dir) -> Option<usize> {
        match side {
            Dir::Left => match self.left_order.get(&kmer) {
                Some(pos) => Some(*pos as usize),
                _ => None,
            },
            Dir::Right => match self.right_order.get(&kmer) {
                Some(pos) => Some(*pos as usize),
                _ => None,
            },
        }
    }
/// Seach for the kmer `kmer`, appearing at the given `side` of a node sequence.
Seach for the kmer `kmer`, appearing at the given `side` of a node sequence.
Seach for the kmer ` kmer ` appearing at the given ` side ` of a node sequence .
fn search_kmer(&self, kmer: K, side: Dir) -> Option<usize> {
        match side {
            Dir::Left => match self.left_order.get(&kmer) {
                Some(pos) => Some(*pos as usize),
                _ => None,
            },
            Dir::Right => match self.right_order.get(&kmer) {
                Some(pos) => Some(*pos as usize),
                _ => None,
            },
        }
    }
fn search_kmer ( & self , kmer : K , side : Dir ) -> Option < usize > { match side { Dir :: Left => match self . left_order . get ( & kmer ) { Some ( pos ) => Some ( * pos as usize ) , _ => None , } , Dir :: Right => match self . right_order . get ( & kmer ) { Some ( pos ) => Some ( * pos as usize ) , _ => None , } , } }
Seach for the kmer `kmer`, appearing at the given `side` of a node sequence.
Seach for the kmer ` kmer ` appearing at the given ` side ` of a node sequence .
&self
kmer
K
side
Dir
&self
kmer
K
side
Dir