Trait rust_hamming_distance::hamming_distance::HammingDistancable [] [src]

pub trait HammingDistancable<RHS = Self> {
    type Output;
    fn hamming_distance(self, other: RHS) -> Self::Output;
}

A trait for calculating hamming distance

Associated Types

type Output

The output type of the hamming distance

Required Methods

fn hamming_distance(self, other: RHS) -> Self::Output

Implementors