#[repr(C)]pub struct clap_host_tuning {
pub get_relative: Option<unsafe extern "C" fn(host: *const clap_host, tuning_id: clap_id, channel: i32, key: i32, sample_offset: u32) -> f64>,
pub should_play: Option<unsafe extern "C" fn(host: *const clap_host, tuning_id: clap_id, channel: i32, key: i32) -> bool>,
pub get_tuning_count: Option<unsafe extern "C" fn(host: *const clap_host) -> u32>,
pub get_info: Option<unsafe extern "C" fn(host: *const clap_host, tuning_index: u32, info: *mut clap_tuning_info) -> bool>,
}Fields§
§get_relative: Option<unsafe extern "C" fn(host: *const clap_host, tuning_id: clap_id, channel: i32, key: i32, sample_offset: u32) -> f64>§should_play: Option<unsafe extern "C" fn(host: *const clap_host, tuning_id: clap_id, channel: i32, key: i32) -> bool>§get_tuning_count: Option<unsafe extern "C" fn(host: *const clap_host) -> u32>§get_info: Option<unsafe extern "C" fn(host: *const clap_host, tuning_index: u32, info: *mut clap_tuning_info) -> bool>Trait Implementations§
Source§impl Clone for clap_host_tuning
impl Clone for clap_host_tuning
Source§fn clone(&self) -> clap_host_tuning
fn clone(&self) -> clap_host_tuning
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_host_tuning
impl Debug for clap_host_tuning
impl Copy for clap_host_tuning
Auto Trait Implementations§
impl Freeze for clap_host_tuning
impl RefUnwindSafe for clap_host_tuning
impl Send for clap_host_tuning
impl Sync for clap_host_tuning
impl Unpin for clap_host_tuning
impl UnwindSafe for clap_host_tuning
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