pub struct Channels<C>(pub C);Expand description
Multiple channels to be processed with the same configuration
Tuple Fields§
§0: CTrait Implementations§
Source§impl<X: Copy + Default, C, S, const N: usize> SplitInplace<[X; N], [S; N]> for Channels<C>where
C: SplitInplace<X, S>,
impl<X: Copy + Default, C, S, const N: usize> SplitInplace<[X; N], [S; N]> for Channels<C>where
C: SplitInplace<X, S>,
Source§impl<X: Copy, Y: Copy + Default, C, S, const N: usize> SplitProcess<[X; N], [Y; N], [S; N]> for Channels<C>where
C: SplitProcess<X, Y, S>,
Process data from multiple channels with a common configuration
impl<X: Copy, Y: Copy + Default, C, S, const N: usize> SplitProcess<[X; N], [Y; N], [S; N]> for Channels<C>where
C: SplitProcess<X, Y, S>,
Process data from multiple channels with a common configuration
Note that block() and inplace() reinterpret the data as Transpose: not as [[X; N]] but as [[X]; N].
Use x.as_flattened().chunks_exact(x.len())/x.as_chunks<N>().0 etc. to match that.
impl<C: Copy> Copy for Channels<C>
Auto Trait Implementations§
impl<C> Freeze for Channels<C>where
C: Freeze,
impl<C> RefUnwindSafe for Channels<C>where
C: RefUnwindSafe,
impl<C> Send for Channels<C>where
C: Send,
impl<C> Sync for Channels<C>where
C: Sync,
impl<C> Unpin for Channels<C>where
C: Unpin,
impl<C> UnwindSafe for Channels<C>where
C: 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