crispii_bits 1.0.0

Bit related functionality intended for use with Crispii
Documentation
1
2
3
4
5
6
7
8
use crate::traits::UnsignedInteger;

#[allow(private_bounds)]
pub trait Flip : UnsignedInteger {
    type Pos;

    fn flip_bit(self, pos: Self::Pos) -> Self;
}