pub enum ParamUpdate {
Int32 {
reason: usize,
addr: i32,
value: i32,
},
Float64 {
reason: usize,
addr: i32,
value: f64,
},
}Expand description
A single parameter update produced by a plugin’s process_array.
Variants§
Implementations§
Source§impl ParamUpdate
impl ParamUpdate
Sourcepub fn int32_addr(reason: usize, addr: i32, value: i32) -> Self
pub fn int32_addr(reason: usize, addr: i32, value: i32) -> Self
Create an Int32 update at a specific addr.
Sourcepub fn float64_addr(reason: usize, addr: i32, value: f64) -> Self
pub fn float64_addr(reason: usize, addr: i32, value: f64) -> Self
Create a Float64 update at a specific addr.
Auto Trait Implementations§
impl Freeze for ParamUpdate
impl RefUnwindSafe for ParamUpdate
impl Send for ParamUpdate
impl Sync for ParamUpdate
impl Unpin for ParamUpdate
impl UnsafeUnpin for ParamUpdate
impl UnwindSafe for ParamUpdate
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