pub struct ActiveChannels(/* private fields */);Expand description
Active channels in a particular pattern or module.
Implementations§
Source§impl ActiveChannels
impl ActiveChannels
pub const fn all() -> ActiveChannels
pub const fn empty() -> ActiveChannels
pub fn new<C: Borrow<Channel>>( iter: impl IntoIterator<Item = C>, ) -> ActiveChannels
pub fn iter(self) -> impl Iterator<Item = Channel>
pub const fn count(self) -> usize
Trait Implementations§
Source§impl BitAnd for ActiveChannels
impl BitAnd for ActiveChannels
Source§type Output = ActiveChannels
type Output = ActiveChannels
The resulting type after applying the
& operator.Source§impl BitAndAssign for ActiveChannels
impl BitAndAssign for ActiveChannels
Source§fn bitand_assign(&mut self, rhs: ActiveChannels)
fn bitand_assign(&mut self, rhs: ActiveChannels)
Performs the
&= operation. Read moreSource§impl BitOr for ActiveChannels
impl BitOr for ActiveChannels
Source§type Output = ActiveChannels
type Output = ActiveChannels
The resulting type after applying the
| operator.Source§impl BitOrAssign for ActiveChannels
impl BitOrAssign for ActiveChannels
Source§fn bitor_assign(&mut self, rhs: ActiveChannels)
fn bitor_assign(&mut self, rhs: ActiveChannels)
Performs the
|= operation. Read moreSource§impl Clone for ActiveChannels
impl Clone for ActiveChannels
Source§fn clone(&self) -> ActiveChannels
fn clone(&self) -> ActiveChannels
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActiveChannels
impl Debug for ActiveChannels
Source§impl FromIterator<Channel> for ActiveChannels
impl FromIterator<Channel> for ActiveChannels
Source§fn from_iter<I: IntoIterator<Item = Channel>>(iter: I) -> ActiveChannels
fn from_iter<I: IntoIterator<Item = Channel>>(iter: I) -> ActiveChannels
Creates a value from an iterator. Read more
Source§impl PartialEq for ActiveChannels
impl PartialEq for ActiveChannels
impl Copy for ActiveChannels
impl StructuralPartialEq for ActiveChannels
Auto Trait Implementations§
impl Freeze for ActiveChannels
impl RefUnwindSafe for ActiveChannels
impl Send for ActiveChannels
impl Sync for ActiveChannels
impl Unpin for ActiveChannels
impl UnwindSafe for ActiveChannels
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more