has_flag

Function has_flag 

Source
pub fn has_flag<T>(bitset: T, flag: T) -> bool
where T: Copy + PartialEq + BitAnd<T, Output = T>,