#[repr(C)]pub struct clap_host_tuning {
pub get_relative: unsafe extern "C" fn(host: *const clap_host, tuning_id: clap_id, channel: i32, key: i32, sample_offset: u32) -> f64,
pub should_play: unsafe extern "C" fn(host: *const clap_host, tuning_id: clap_id, channel: i32, key: i32) -> bool,
pub get_tuning_count: unsafe extern "C" fn(host: *const clap_host) -> u32,
pub get_info: unsafe extern "C" fn(host: *const clap_host, tuning_index: u32, info: *mut clap_tuning_info) -> bool,
}Fields
get_relative: unsafe extern "C" fn(host: *const clap_host, tuning_id: clap_id, channel: i32, key: i32, sample_offset: u32) -> f64should_play: unsafe extern "C" fn(host: *const clap_host, tuning_id: clap_id, channel: i32, key: i32) -> boolget_tuning_count: unsafe extern "C" fn(host: *const clap_host) -> u32get_info: unsafe extern "C" fn(host: *const clap_host, tuning_index: u32, info: *mut clap_tuning_info) -> boolTrait Implementations
sourceimpl Clone for clap_host_tuning
impl Clone for clap_host_tuning
sourcefn clone(&self) -> clap_host_tuning
fn clone(&self) -> clap_host_tuning
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
impl Copy for clap_host_tuning
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more