Measure

Trait Measure 

Source
pub trait Measure<T> {
    type Operation: Operation<T>;

    // Required method
    fn operations(&self) -> &[Self::Operation];
}
Expand description

Trait for edit distance measures.

Required Associated Types§

Source

type Operation: Operation<T>

The edit operations associated with the measure.

Required Methods§

Source

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.

Implementors§