bsalign 0.1.0

Rust bindings for the bsalign C library
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use bsalign_sys::bindings;

#[derive(Debug, Clone, Copy)]
pub enum AlignMode {
    Global = bindings::SEQALIGN_MODE_GLOBAL as isize,
    Overlap = bindings::SEQALIGN_MODE_OVERLAP as isize,
    EXTEND = bindings::SEQALIGN_MODE_EXTEND as isize,
}

impl Default for AlignMode {
    fn default() -> Self {
        AlignMode::Global
    }
}