[][src]Trait bio::alignment::pairwise::MatchFunc

pub trait MatchFunc {
    fn score(&self, a: u8, b: u8) -> i32;
}

Trait required to instantiate a Scoring instance

Required methods

fn score(&self, a: u8, b: u8) -> i32

Loading content...

Implementors

impl MatchFunc for MatchParams[src]

impl<F> MatchFunc for F where
    F: Fn(u8, u8) -> i32
[src]

The trait Matchfunc is also implemented for Fn(u8, u8) -> i32 so that Scoring can be instantiated using closures and custom user defined functions

Loading content...