[][src]Trait seqalign::Measure

pub trait Measure<T> {
    type Operation: Operation<T>;
    fn operations(&self) -> &[Self::Operation];
}

Trait for edit distance measures.

Associated Types

type Operation: Operation<T>

The edit operations associated with the measure.

Loading content...

Required methods

fn operations(&self) -> &[Self::Operation]

Get a slice with the measure's operations. Typically, this contains all the enum variants of the associated type Operation.

Loading content...

Implementors

impl<T> Measure<T> for LCS where
    T: Eq
[src]

type Operation = LCSOp

impl<T> Measure<T> for Levenshtein where
    T: Eq
[src]

impl<T> Measure<T> for LevenshteinDamerau where
    T: Eq
[src]

Loading content...