Trait HammingTraitConst

Source
pub trait HammingTraitConst {
    // Required method
    fn as_raw_Hamming(&self) -> *const c_void;

    // Provided method
    fn apply(&self, a: &[u8], b: &[u8]) -> Result<Hamming_ResultType> { ... }
}
Expand description

Constant methods for core::Hamming

Required Methods§

Provided Methods§

Source

fn apply(&self, a: &[u8], b: &[u8]) -> Result<Hamming_ResultType>

this will count the bits in a ^ b

Implementors§