pub struct AppState { /* private fields */ }Expand description
Application state with simulated plugin parameters.
Implementations§
Trait Implementations§
Source§impl ParameterHost for AppState
impl ParameterHost for AppState
Source§fn get_parameter(&self, id: &str) -> Option<ParameterInfo>
fn get_parameter(&self, id: &str) -> Option<ParameterInfo>
Get information about a single parameter. Read more
Source§fn set_parameter(&self, id: &str, value: f32) -> Result<(), BridgeError>
fn set_parameter(&self, id: &str, value: f32) -> Result<(), BridgeError>
Set a parameter value. Read more
Source§fn get_all_parameters(&self) -> Vec<ParameterInfo>
fn get_all_parameters(&self) -> Vec<ParameterInfo>
Get all parameters with their current values and metadata. Read more
Source§fn get_meter_frame(&self) -> Option<MeterFrame>
fn get_meter_frame(&self) -> Option<MeterFrame>
Get the latest meter frame for UI visualization. Read more
Auto Trait Implementations§
impl Freeze for AppState
impl !RefUnwindSafe for AppState
impl Send for AppState
impl Sync for AppState
impl Unpin for AppState
impl !UnwindSafe for AppState
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