pub fn from_u8(pos: u8) -> Self {
        if pos > MAX_BIT_INDEX {
            panic!(
                "You want a bit position from a 32-bit number \
            but gave me a number which is greater than 31"
            );
        }
        BitPos32::Pos(pos)
    }
/// Generates a Position from a u8
///
/// # Panics
/// Panics if given a position greater than 31
Generates a Position from a u8
Generates a Position from a u8
pub fn from_u8(pos: u8) -> Self {
        if pos > MAX_BIT_INDEX {
            panic!(
                "You want a bit position from a 32-bit number \
            but gave me a number which is greater than 31"
            );
        }
        BitPos32::Pos(pos)
    }
pub fn from_u8 ( pos : u8 ) -> Self { if pos > MAX_BIT_INDEX { panic ! ( " \
 " ) ; } BitPos32 :: Pos ( pos ) }
Generates a Position from a u8
Generates a Position from a u8
pos
u8
panics
Panics if given a position greater than 31
Panics if given a position greater than 31