pub struct Controls<'a> {
pub lanes: &'a [ControlLane],
pub values: &'a [f32],
}Expand description
Parameter values at the control points one block touches, for the chain nodes it retunes.
A node with a lane runs in pieces cut at the multiples of CONTROL_INTERVAL of its own
sample position, each given the values of the point at or before it and of the next, so
the settings in effect at a sample do not depend on how the audio is cut into blocks.
Fields§
§lanes: &'a [ControlLane]One lane per retuned node, nodes ascending.
values: &'a [f32]The values every lane points into.
Trait Implementations§
impl<'a> Copy for Controls<'a>
Auto Trait Implementations§
impl<'a> Forget for Controls<'a>
impl<'a> Freeze for Controls<'a>
impl<'a> Move for Controls<'a>
impl<'a> RefUnwindSafe for Controls<'a>
impl<'a> Send for Controls<'a>
impl<'a> Sync for Controls<'a>
impl<'a> Unpin for Controls<'a>
impl<'a> UnsafeUnpin for Controls<'a>
impl<'a> UnwindSafe for Controls<'a>
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