Trait bit_reverse::BitwiseReverse [] [src]

pub trait BitwiseReverse<T> {
    fn swap_bits(self) -> T;
}

Computes bit reversal by going bit by bit and setting the reverse position bit for the output.

Required Methods

Swaps the bits such that bit i is now bit N-i, where N is the length of the T in bits.

Implementors