#[repr(C)]
pub struct clap_plugin_gui {
Show 15 fields pub is_api_supported: unsafe extern "C" fn(plugin: *const clap_plugin, api: *const c_char, is_floating: bool) -> bool, pub get_preferred_api: unsafe extern "C" fn(plugin: *const clap_plugin, api: *mut *const c_char, is_floating: *mut bool) -> bool, pub create: unsafe extern "C" fn(plugin: *const clap_plugin, api: *const c_char, is_floating: bool) -> bool, pub destroy: unsafe extern "C" fn(plugin: *const clap_plugin), pub set_scale: unsafe extern "C" fn(plugin: *const clap_plugin, scale: f64) -> bool, pub get_size: unsafe extern "C" fn(plugin: *const clap_plugin, width: *mut u32, height: *mut u32) -> bool, pub can_resize: unsafe extern "C" fn(plugin: *const clap_plugin) -> bool, pub get_resize_hints: unsafe extern "C" fn(plugin: *const clap_plugin, hints: *mut clap_gui_resize_hints) -> bool, pub adjust_size: unsafe extern "C" fn(plugin: *const clap_plugin, width: *mut u32, height: *mut u32) -> bool, pub set_size: unsafe extern "C" fn(plugin: *const clap_plugin, width: u32, height: u32) -> bool, pub set_parent: unsafe extern "C" fn(plugin: *const clap_plugin, window: *const clap_window) -> bool, pub set_transient: unsafe extern "C" fn(plugin: *const clap_plugin, window: *const clap_window) -> bool, pub suggest_title: unsafe extern "C" fn(plugin: *const clap_plugin, title: *const c_char), pub show: unsafe extern "C" fn(plugin: *const clap_plugin) -> bool, pub hide: unsafe extern "C" fn(plugin: *const clap_plugin) -> bool,
}

Fields

is_api_supported: unsafe extern "C" fn(plugin: *const clap_plugin, api: *const c_char, is_floating: bool) -> boolget_preferred_api: unsafe extern "C" fn(plugin: *const clap_plugin, api: *mut *const c_char, is_floating: *mut bool) -> boolcreate: unsafe extern "C" fn(plugin: *const clap_plugin, api: *const c_char, is_floating: bool) -> booldestroy: unsafe extern "C" fn(plugin: *const clap_plugin)set_scale: unsafe extern "C" fn(plugin: *const clap_plugin, scale: f64) -> boolget_size: unsafe extern "C" fn(plugin: *const clap_plugin, width: *mut u32, height: *mut u32) -> boolcan_resize: unsafe extern "C" fn(plugin: *const clap_plugin) -> boolget_resize_hints: unsafe extern "C" fn(plugin: *const clap_plugin, hints: *mut clap_gui_resize_hints) -> booladjust_size: unsafe extern "C" fn(plugin: *const clap_plugin, width: *mut u32, height: *mut u32) -> boolset_size: unsafe extern "C" fn(plugin: *const clap_plugin, width: u32, height: u32) -> boolset_parent: unsafe extern "C" fn(plugin: *const clap_plugin, window: *const clap_window) -> boolset_transient: unsafe extern "C" fn(plugin: *const clap_plugin, window: *const clap_window) -> boolsuggest_title: unsafe extern "C" fn(plugin: *const clap_plugin, title: *const c_char)show: unsafe extern "C" fn(plugin: *const clap_plugin) -> boolhide: unsafe extern "C" fn(plugin: *const clap_plugin) -> 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.