[][src]Trait bit_reverse::BitwiseReverse

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

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

Required methods

fn swap_bits(self) -> Self

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

Loading content...

Implementations on Foreign Types

impl BitwiseReverse for u8[src]

impl BitwiseReverse for u16[src]

impl BitwiseReverse for u32[src]

impl BitwiseReverse for u64[src]

impl BitwiseReverse for usize[src]

impl BitwiseReverse for i8[src]

impl BitwiseReverse for i16[src]

impl BitwiseReverse for i32[src]

impl BitwiseReverse for i64[src]

impl BitwiseReverse for isize[src]

Loading content...

Implementors

Loading content...