pub fn print_cigar(&mut self, pattern: &[u8], text: &[u8]) {
        unsafe {
            let wf_ref = self.ptr.as_mut().unwrap();
            let cg_mut = &mut wf_ref.edit_cigar as *mut edit_cigar_t;
            edit_cigar_print_pretty(
                stderr,
                pattern.as_ptr() as *const c_char,
                pattern.len() as c_int,
                text.as_ptr() as *const c_char,
                text.len() as c_int,
                cg_mut,
                self.allocator.alloc_ptr(),
            );
        }
    }
/// Prints the alignment using the C library pretty printer. For
/// now it only prints to stderr.
Prints the alignment using the C library pretty printer. For
now it only prints to stderr.
Prints the alignment using the C library pretty printer . For now it only prints to stderr .
pub fn print_cigar(&mut self, pattern: &[u8], text: &[u8]) {
        unsafe {
            let wf_ref = self.ptr.as_mut().unwrap();
            let cg_mut = &mut wf_ref.edit_cigar as *mut edit_cigar_t;
            edit_cigar_print_pretty(
                stderr,
                pattern.as_ptr() as *const c_char,
                pattern.len() as c_int,
                text.as_ptr() as *const c_char,
                text.len() as c_int,
                cg_mut,
                self.allocator.alloc_ptr(),
            );
        }
    }
pub fn print_cigar ( & mut self , pattern : & [ u8 ] , text : & [ u8 ] ) { unsafe { let wf_ref = self . ptr . as_mut ( ) . unwrap ( ) ; let cg_mut = & mut wf_ref . edit_cigar as * mut edit_cigar_t ; edit_cigar_print_pretty ( stderr , pattern . as_ptr ( ) as * const c_char , pattern . len ( ) as c_int , text . as_ptr ( ) as * const c_char , text . len ( ) as c_int , cg_mut , self . allocator . alloc_ptr ( ) , ) ; } }
Prints the alignment using the C library pretty printer.
Prints the alignment using the C library pretty printer .
&mut self
pattern
&[u8]
text
&[u8]