pub fn new(bit_num: u32) -> Result<Self, BitRepError> {
        if bit_num > 32 {
            return Err(BitRepError::new(
                "You specified a bit beyond the 32 bit \
                 representation of a u32",
            ));
        }
        Ok(U32BitFlag(bit_num))
    }
/// Create a new bitflag from the index of the bit to set.
Create a new bitflag from the index of the bit to set.
Create a new bitflag from the index of the bit to set .
pub fn new(bit_num: u32) -> Result<Self, BitRepError> {
        if bit_num > 32 {
            return Err(BitRepError::new(
                "You specified a bit beyond the 32 bit \
                 representation of a u32",
            ));
        }
        Ok(U32BitFlag(bit_num))
    }
pub fn new ( bit_num : u32 ) -> Result < Self , BitRepError > { if bit_num > 32 { return Err ( BitRepError :: new ( " \
 " , ) ) ; } Ok ( U32BitFlag ( bit_num ) ) }
Create a new bitflag from the index of the bit to set.
Create a new bitflag from the index of the bit to set .
bit_num
u32
bit_num
u32