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

source§

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)

Performs copy-assignment from source. Read more
source§

impl Debug for clap_plugin_gui

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for clap_plugin_gui

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.