pub fn is_set(&self, bit: u32) -> bool {
        if bit > 32 {
            return false;
        }
        let set_mask = num_to_set_mask(bit);
        set_mask & self.0 == set_mask
    }
/// Check if the bit at position `bit` is set - returns false
/// for anything larger than 32 as that extends past the
/// boundaries of a 32 bit integer bitmask
Check if the bit at position `bit` is set - returns false
for anything larger than 32 as that extends past the
boundaries of a 32 bit integer bitmask
Check if the bit at position ` bit ` is set - returns false for anything larger than 32 as that extends past the boundaries of a 32 bit integer bitmask
pub fn is_set(&self, bit: u32) -> bool {
        if bit > 32 {
            return false;
        }
        let set_mask = num_to_set_mask(bit);
        set_mask & self.0 == set_mask
    }
pub fn is_set ( & self , bit : u32 ) -> bool { if bit > 32 { return false ; } let set_mask = num_to_set_mask ( bit ) ; set_mask & self . 0 == set_mask }
Check if the bit at position `bit` is set - returns false
for anything larger than 32 as that extends past the
boundaries of a 32 bit integer bitmask
Check if the bit at position ` bit ` is set - returns false for anything larger than 32 as that extends past the boundaries of a 32 bit integer bitmask
&self
bit
u32
&self
bit
u32