fn extend(&self, v: u8, dir: Dir) -> Self {
        match dir {
            Dir::Left => self.extend_left(v),
            Dir::Right => self.extend_right(v),
        }
    }
/// Add the base `v` to the side of sequence given by `dir`, and remove a base at the opposite side
Add the base `v` to the side of sequence given by `dir`, and remove a base at the opposite side
Add the base ` v ` to the side of sequence given by ` dir ` and remove a base at the opposite side
fn extend(&self, v: u8, dir: Dir) -> Self {
        match dir {
            Dir::Left => self.extend_left(v),
            Dir::Right => self.extend_right(v),
        }
    }
fn extend ( & self , v : u8 , dir : Dir ) -> Self { match dir { Dir :: Left => self . extend_left ( v ) , Dir :: Right => self . extend_right ( v ) , } }
Add the base `v` to the side of sequence given by `dir`, and remove a base at the opposite side
Add the base ` v ` to the side of sequence given by ` dir ` and remove a base at the opposite side
&self
v
u8
dir
Dir
&self
v
u8
dir
Dir