[][src]Struct bio::alignment::pairwise::MatchParams

pub struct MatchParams {
    pub match_score: i32,
    pub mismatch_score: i32,
}

A concrete data structure which implements trait MatchFunc with constant match and mismatch scores

Fields

match_score: i32mismatch_score: i32

Methods

impl MatchParams[src]

pub fn new(match_score: i32, mismatch_score: i32) -> Self[src]

Create new MatchParams instance with given match and mismatch scores

Arguments

  • match_score - the score for a match (should not be negative)
  • mismatch_score - the score for a mismatch (should not be positive)

Trait Implementations

impl MatchFunc for MatchParams[src]

impl Clone for MatchParams[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for MatchParams[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]