pub struct ControlSpan<'a> {
pub from: &'a [f32],
pub to: &'a [f32],
pub phase: usize,
}Expand description
The settings a retuned processor moves between over one control interval.
The processor is at from on the interval’s first sample and moves in a straight line
toward to, which it would reach on the first sample of the next interval.
Fields§
§from: &'a [f32]The values at the control point at or before the next processed sample, one per parameter in the processor’s documented order.
to: &'a [f32]The values at the next control point.
phase: usizeHow many samples past the point of from the next processed sample lies, below
CONTROL_INTERVAL.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for ControlSpan<'a>
impl<'a> Clone for ControlSpan<'a>
impl<'a> Copy for ControlSpan<'a>
Source§impl<'a> Debug for ControlSpan<'a>
impl<'a> Debug for ControlSpan<'a>
Source§impl<'a> PartialEq for ControlSpan<'a>
impl<'a> PartialEq for ControlSpan<'a>
impl<'a> StructuralPartialEq for ControlSpan<'a>
Auto Trait Implementations§
impl<'a> Forget for ControlSpan<'a>
impl<'a> Freeze for ControlSpan<'a>
impl<'a> Move for ControlSpan<'a>
impl<'a> RefUnwindSafe for ControlSpan<'a>
impl<'a> Send for ControlSpan<'a>
impl<'a> Sync for ControlSpan<'a>
impl<'a> Unpin for ControlSpan<'a>
impl<'a> UnsafeUnpin for ControlSpan<'a>where
&'a [f32]: UnsafeUnpin,
impl<'a> UnwindSafe for ControlSpan<'a>where
&'a [f32]: 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