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§
Required Methods§
Sourcefn operations(&self) -> &[Self::Operation]
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.