#[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) -> boolTrait Implementations
sourceimpl Clone for clap_plugin_gui
impl Clone for clap_plugin_gui
sourcefn clone(&self) -> clap_plugin_gui
fn clone(&self) -> clap_plugin_gui
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_plugin_gui
Auto Trait Implementations
impl RefUnwindSafe for clap_plugin_gui
impl Send for clap_plugin_gui
impl Sync for clap_plugin_gui
impl Unpin for clap_plugin_gui
impl UnwindSafe for clap_plugin_gui
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