[][src]Struct bio::pattern_matching::ukkonen::Ukkonen

pub struct Ukkonen<F> where
    F: Fn(u8, u8) -> u32
{ /* fields omitted */ }

Ukkonens algorithm.

Methods

impl<F> Ukkonen<F> where
    F: Fn(u8, u8) -> u32
[src]

pub fn with_capacity(m: usize, cost: F) -> Self[src]

Initialize algorithm with given capacity and cost function.

Important traits for Matches<'a, F, C, T>
pub fn find_all_end<'a, C, T>(
    &'a mut self,
    pattern: TextSlice<'a>,
    text: T,
    k: usize
) -> Matches<F, C, T::IntoIter> where
    C: Borrow<u8>,
    T: IntoIterator<Item = C>, 
[src]

Find all matches between pattern and text with up to k errors. Matches are returned as an iterator over pairs of end position and distance.

Auto Trait Implementations

impl<F> Send for Ukkonen<F> where
    F: Send

impl<F> Unpin for Ukkonen<F> where
    F: Unpin

impl<F> Sync for Ukkonen<F> where
    F: Sync

impl<F> UnwindSafe for Ukkonen<F> where
    F: UnwindSafe

impl<F> RefUnwindSafe for Ukkonen<F> where
    F: RefUnwindSafe

Blanket Implementations

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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