Struct clap_sys::ext::gui::clap_plugin_gui
source · #[repr(C)]pub struct clap_plugin_gui {Show 15 fields
pub is_api_supported: Option<unsafe extern "C" fn(plugin: *const clap_plugin, api: *const c_char, is_floating: bool) -> bool>,
pub get_preferred_api: Option<unsafe extern "C" fn(plugin: *const clap_plugin, api: *mut *const c_char, is_floating: *mut bool) -> bool>,
pub create: Option<unsafe extern "C" fn(plugin: *const clap_plugin, api: *const c_char, is_floating: bool) -> bool>,
pub destroy: Option<unsafe extern "C" fn(plugin: *const clap_plugin)>,
pub set_scale: Option<unsafe extern "C" fn(plugin: *const clap_plugin, scale: f64) -> bool>,
pub get_size: Option<unsafe extern "C" fn(plugin: *const clap_plugin, width: *mut u32, height: *mut u32) -> bool>,
pub can_resize: Option<unsafe extern "C" fn(plugin: *const clap_plugin) -> bool>,
pub get_resize_hints: Option<unsafe extern "C" fn(plugin: *const clap_plugin, hints: *mut clap_gui_resize_hints) -> bool>,
pub adjust_size: Option<unsafe extern "C" fn(plugin: *const clap_plugin, width: *mut u32, height: *mut u32) -> bool>,
pub set_size: Option<unsafe extern "C" fn(plugin: *const clap_plugin, width: u32, height: u32) -> bool>,
pub set_parent: Option<unsafe extern "C" fn(plugin: *const clap_plugin, window: *const clap_window) -> bool>,
pub set_transient: Option<unsafe extern "C" fn(plugin: *const clap_plugin, window: *const clap_window) -> bool>,
pub suggest_title: Option<unsafe extern "C" fn(plugin: *const clap_plugin, title: *const c_char)>,
pub show: Option<unsafe extern "C" fn(plugin: *const clap_plugin) -> bool>,
pub hide: Option<unsafe extern "C" fn(plugin: *const clap_plugin) -> bool>,
}Fields§
§is_api_supported: Option<unsafe extern "C" fn(plugin: *const clap_plugin, api: *const c_char, is_floating: bool) -> bool>§get_preferred_api: Option<unsafe extern "C" fn(plugin: *const clap_plugin, api: *mut *const c_char, is_floating: *mut bool) -> bool>§create: Option<unsafe extern "C" fn(plugin: *const clap_plugin, api: *const c_char, is_floating: bool) -> bool>§destroy: Option<unsafe extern "C" fn(plugin: *const clap_plugin)>§set_scale: Option<unsafe extern "C" fn(plugin: *const clap_plugin, scale: f64) -> bool>§get_size: Option<unsafe extern "C" fn(plugin: *const clap_plugin, width: *mut u32, height: *mut u32) -> bool>§can_resize: Option<unsafe extern "C" fn(plugin: *const clap_plugin) -> bool>§get_resize_hints: Option<unsafe extern "C" fn(plugin: *const clap_plugin, hints: *mut clap_gui_resize_hints) -> bool>§adjust_size: Option<unsafe extern "C" fn(plugin: *const clap_plugin, width: *mut u32, height: *mut u32) -> bool>§set_size: Option<unsafe extern "C" fn(plugin: *const clap_plugin, width: u32, height: u32) -> bool>§set_parent: Option<unsafe extern "C" fn(plugin: *const clap_plugin, window: *const clap_window) -> bool>§set_transient: Option<unsafe extern "C" fn(plugin: *const clap_plugin, window: *const clap_window) -> bool>§suggest_title: Option<unsafe extern "C" fn(plugin: *const clap_plugin, title: *const c_char)>§show: Option<unsafe extern "C" fn(plugin: *const clap_plugin) -> bool>§hide: Option<unsafe extern "C" fn(plugin: *const clap_plugin) -> bool>Trait Implementations§
source§impl Clone for clap_plugin_gui
impl Clone for clap_plugin_gui
source§fn clone(&self) -> clap_plugin_gui
fn clone(&self) -> clap_plugin_gui
Returns a copy 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_plugin_gui
impl Debug for clap_plugin_gui
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§
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