pub struct MultiplexerRx<T> { /* private fields */ }Implementations§
Source§impl<T> MultiplexerRx<T>
impl<T> MultiplexerRx<T>
pub fn new(count: usize) -> Self
Sourcepub fn selection_mut(&mut self) -> &mut DoubleBufferRx<MultiplexerSelection>
pub fn selection_mut(&mut self) -> &mut DoubleBufferRx<MultiplexerSelection>
Gets the selection channel
Sourcepub fn channel_mut(&mut self, index: usize) -> &mut DoubleBufferRx<T>
pub fn channel_mut(&mut self, index: usize) -> &mut DoubleBufferRx<T>
Get the i-th input channel
Sourcepub fn new_channel_mut(&mut self) -> &mut DoubleBufferRx<T>
pub fn new_channel_mut(&mut self) -> &mut DoubleBufferRx<T>
Add a new input channel and return it
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for MultiplexerRx<T>
impl<T> RefUnwindSafe for MultiplexerRx<T>where
T: RefUnwindSafe,
impl<T> Send for MultiplexerRx<T>
impl<T> Sync for MultiplexerRx<T>
impl<T> Unpin for MultiplexerRx<T>where
T: Unpin,
impl<T> UnwindSafe for MultiplexerRx<T>where
T: UnwindSafe,
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