#[repr(C)]pub struct ClapPluginGui {Show 15 fields
pub is_api_supported: Option<unsafe extern "C" fn(*const ClapPlugin, *const c_char, bool) -> bool>,
pub get_preferred_api: Option<unsafe extern "C" fn(*const ClapPlugin, *mut *const c_char, *mut bool) -> bool>,
pub create: Option<unsafe extern "C" fn(*const ClapPlugin, *const c_char, bool) -> bool>,
pub destroy: Option<unsafe extern "C" fn(*const ClapPlugin)>,
pub set_scale: Option<unsafe extern "C" fn(*const ClapPlugin, f64) -> bool>,
pub get_size: Option<unsafe extern "C" fn(*const ClapPlugin, *mut u32, *mut u32) -> bool>,
pub can_resize: Option<unsafe extern "C" fn(*const ClapPlugin) -> bool>,
pub get_resize_hints: Option<unsafe extern "C" fn(*const ClapPlugin, *mut ClapGuiResizeHints) -> bool>,
pub adjust_size: Option<unsafe extern "C" fn(*const ClapPlugin, *mut u32, *mut u32) -> bool>,
pub set_size: Option<unsafe extern "C" fn(*const ClapPlugin, u32, u32) -> bool>,
pub set_parent: Option<unsafe extern "C" fn(*const ClapPlugin, *const ClapWindow) -> bool>,
pub set_transient: Option<unsafe extern "C" fn(*const ClapPlugin, *const ClapWindow) -> bool>,
pub suggest_title: Option<unsafe extern "C" fn(*const ClapPlugin, *const c_char)>,
pub show: Option<unsafe extern "C" fn(*const ClapPlugin) -> bool>,
pub hide: Option<unsafe extern "C" fn(*const ClapPlugin) -> bool>,
}Fields§
§is_api_supported: Option<unsafe extern "C" fn(*const ClapPlugin, *const c_char, bool) -> bool>§get_preferred_api: Option<unsafe extern "C" fn(*const ClapPlugin, *mut *const c_char, *mut bool) -> bool>§create: Option<unsafe extern "C" fn(*const ClapPlugin, *const c_char, bool) -> bool>§destroy: Option<unsafe extern "C" fn(*const ClapPlugin)>§set_scale: Option<unsafe extern "C" fn(*const ClapPlugin, f64) -> bool>§get_size: Option<unsafe extern "C" fn(*const ClapPlugin, *mut u32, *mut u32) -> bool>§can_resize: Option<unsafe extern "C" fn(*const ClapPlugin) -> bool>§get_resize_hints: Option<unsafe extern "C" fn(*const ClapPlugin, *mut ClapGuiResizeHints) -> bool>§adjust_size: Option<unsafe extern "C" fn(*const ClapPlugin, *mut u32, *mut u32) -> bool>§set_size: Option<unsafe extern "C" fn(*const ClapPlugin, u32, u32) -> bool>§set_parent: Option<unsafe extern "C" fn(*const ClapPlugin, *const ClapWindow) -> bool>§set_transient: Option<unsafe extern "C" fn(*const ClapPlugin, *const ClapWindow) -> bool>§suggest_title: Option<unsafe extern "C" fn(*const ClapPlugin, *const c_char)>§show: Option<unsafe extern "C" fn(*const ClapPlugin) -> bool>§hide: Option<unsafe extern "C" fn(*const ClapPlugin) -> bool>Auto Trait Implementations§
impl Freeze for ClapPluginGui
impl RefUnwindSafe for ClapPluginGui
impl Send for ClapPluginGui
impl Sync for ClapPluginGui
impl Unpin for ClapPluginGui
impl UnsafeUnpin for ClapPluginGui
impl UnwindSafe for ClapPluginGui
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