#[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) -> bool

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.