pub struct Control;
Expand description
Control value port type.
Control ports in general are used to control the behaviour of the plugin. These control value ports only have one value per run
call and therefore don’t have a fixed sampling rate.
Therefore, their input is a floating-point number and their output is a mutable reference to a floating-point number.
Trait Implementations§
Source§impl PortType for Control
impl PortType for Control
Source§type InputPortType = f32
type InputPortType = f32
The type of input read by the port.
Source§type OutputPortType = &'static mut f32
type OutputPortType = &'static mut f32
The type of output reference created by the port.
Auto Trait Implementations§
impl Freeze for Control
impl RefUnwindSafe for Control
impl Send for Control
impl Sync for Control
impl Unpin for Control
impl UnwindSafe for Control
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