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

    // Provided method
    fn apply(&self, a: &u8, b: &u8, size: i32) -> Result<Hamming_result_type> { ... }
}
Expand description

Constant methods for core::Hamming

Required Methods§

Provided Methods§

source

fn apply(&self, a: &u8, b: &u8, size: i32) -> Result<Hamming_result_type>

this will count the bits in a ^ b

Implementors§