pub fn complement(&self) -> Exts {
        let v = self.val;

        // swap bits
        let mut r = (v & 0x55u8) << 1 | ((v >> 1) & 0x55u8);

        // swap pairs
        r = (r & 0x33u8) << 2 | ((r >> 2) & 0x33u8);
        Exts { val: r }
    }
/// Complement the extension bases for each direction
Complement the extension bases for each direction
Complement the extension bases for each direction
pub fn complement(&self) -> Exts {
        let v = self.val;
        // swap bits
        let mut r = (v & 0x55u8) << 1 | ((v >> 1) & 0x55u8);
        // swap pairs
        r = (r & 0x33u8) << 2 | ((r >> 2) & 0x33u8);
        Exts { val: r }
    }
pub fn complement ( & self ) -> Exts { let v = self . val ; // swap bits let mut r = ( v & 0x55u8 ) << 1 | ( ( v >> 1 ) & 0x55u8 ) ; // swap pairs r = ( r & 0x33u8 ) << 2 | ( ( r >> 2 ) & 0x33u8 ) ; Exts { val : r } }
Complement the extension bases for each direction
Complement the extension bases for each direction
&self
&self