#[repr(C)]
pub struct clap_plugin_params { pub count: unsafe extern "C" fn(plugin: *const clap_plugin) -> u32, pub get_info: unsafe extern "C" fn(plugin: *const clap_plugin, param_index: u32, param_info: *mut clap_param_info) -> bool, pub get_value: unsafe extern "C" fn(plugin: *const clap_plugin, param_id: clap_id, value: *mut f64) -> bool, pub value_to_text: unsafe extern "C" fn(plugin: *const clap_plugin, param_id: clap_id, value: f64, display: *mut c_char, size: u32) -> bool, pub text_to_value: unsafe extern "C" fn(plugin: *const clap_plugin, param_id: clap_id, display: *const c_char, value: *mut f64) -> bool, pub flush: unsafe extern "C" fn(plugin: *const clap_plugin, in_: *const clap_input_events, out: *const clap_output_events), }

Fields

count: unsafe extern "C" fn(plugin: *const clap_plugin) -> u32get_info: unsafe extern "C" fn(plugin: *const clap_plugin, param_index: u32, param_info: *mut clap_param_info) -> boolget_value: unsafe extern "C" fn(plugin: *const clap_plugin, param_id: clap_id, value: *mut f64) -> boolvalue_to_text: unsafe extern "C" fn(plugin: *const clap_plugin, param_id: clap_id, value: f64, display: *mut c_char, size: u32) -> booltext_to_value: unsafe extern "C" fn(plugin: *const clap_plugin, param_id: clap_id, display: *const c_char, value: *mut f64) -> boolflush: unsafe extern "C" fn(plugin: *const clap_plugin, in_: *const clap_input_events, out: *const clap_output_events)

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.