pub fn contains(&self, index: ChannelIndex) -> bool {
        if index < MAX_NUM_CHANNELS {
            self.0 & (1u32 << index) != 0
        } else {
            false
        }
    }
/// Returns true if the given channel index is represented in this channel mask.
Returns true if the given channel index is represented in this channel mask.
Returns true if the given channel index is represented in this channel mask .
pub fn contains(&self, index: ChannelIndex) -> bool {
        if index < MAX_NUM_CHANNELS {
            self.0 & (1u32 << index) != 0
        } else {
            false
        }
    }
pub fn contains ( & self , index : ChannelIndex ) -> bool { if index < MAX_NUM_CHANNELS { self . 0 & ( 1u32 << index ) != 0 } else { false } }
Returns true if the given channel index is represented in this channel mask.
Returns true if the given channel index is represented in this channel mask .
&self
index
ChannelIndex
&self
index
ChannelIndex