pub struct PerFrame<C>(pub C);Expand description
Apply a chunk-based processor frame by frame to a frame-major view.
This is the bridge between chunk semantics and typed views:
SplitProcess<[X; Q], [Y; R], S> becomes per-frame processing from
View<FrameMajor, Q> to ViewMut<FrameMajor, R>.
Use this when each frame is one logical chunk sample and the backing storage
is already frame-major. For lane-major layout-sensitive processing, use
crate::Lanes or crate::ByLane with explicit LaneMajor views
instead.
Tuple Fields§
§0: CTrait Implementations§
impl<C: Copy> Copy for PerFrame<C>
Auto Trait Implementations§
impl<C> Freeze for PerFrame<C>where
C: Freeze,
impl<C> RefUnwindSafe for PerFrame<C>where
C: RefUnwindSafe,
impl<C> Send for PerFrame<C>where
C: Send,
impl<C> Sync for PerFrame<C>where
C: Sync,
impl<C> Unpin for PerFrame<C>where
C: Unpin,
impl<C> UnsafeUnpin for PerFrame<C>where
C: UnsafeUnpin,
impl<C> UnwindSafe for PerFrame<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