#[repr(C)]pub struct clap_plugin_params {
pub count: Option<unsafe extern "C" fn(plugin: *const clap_plugin) -> u32>,
pub get_info: Option<unsafe extern "C" fn(plugin: *const clap_plugin, param_index: u32, param_info: *mut clap_param_info) -> bool>,
pub get_value: Option<unsafe extern "C" fn(plugin: *const clap_plugin, param_id: clap_id, out_value: *mut f64) -> bool>,
pub value_to_text: Option<unsafe extern "C" fn(plugin: *const clap_plugin, param_id: clap_id, value: f64, out_buffer: *mut c_char, out_buffer_capacity: u32) -> bool>,
pub text_to_value: Option<unsafe extern "C" fn(plugin: *const clap_plugin, param_id: clap_id, param_value_text: *const c_char, out_value: *mut f64) -> bool>,
pub flush: Option<unsafe extern "C" fn(plugin: *const clap_plugin, in_: *const clap_input_events, out: *const clap_output_events)>,
}Fields§
§count: Option<unsafe extern "C" fn(plugin: *const clap_plugin) -> u32>§get_info: Option<unsafe extern "C" fn(plugin: *const clap_plugin, param_index: u32, param_info: *mut clap_param_info) -> bool>§get_value: Option<unsafe extern "C" fn(plugin: *const clap_plugin, param_id: clap_id, out_value: *mut f64) -> bool>§value_to_text: Option<unsafe extern "C" fn(plugin: *const clap_plugin, param_id: clap_id, value: f64, out_buffer: *mut c_char, out_buffer_capacity: u32) -> bool>§text_to_value: Option<unsafe extern "C" fn(plugin: *const clap_plugin, param_id: clap_id, param_value_text: *const c_char, out_value: *mut f64) -> bool>§flush: Option<unsafe extern "C" fn(plugin: *const clap_plugin, in_: *const clap_input_events, out: *const clap_output_events)>Trait Implementations§
Source§impl Clone for clap_plugin_params
impl Clone for clap_plugin_params
Source§fn clone(&self) -> clap_plugin_params
fn clone(&self) -> clap_plugin_params
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for clap_plugin_params
impl Debug for clap_plugin_params
impl Copy for clap_plugin_params
Auto Trait Implementations§
impl Freeze for clap_plugin_params
impl RefUnwindSafe for clap_plugin_params
impl Send for clap_plugin_params
impl Sync for clap_plugin_params
impl Unpin for clap_plugin_params
impl UnwindSafe for clap_plugin_params
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