#[repr(C)]pub struct clap_host {
pub clap_version: clap_version,
pub host_data: *mut c_void,
pub name: *const i8,
pub vendor: *const i8,
pub url: *const i8,
pub version: *const i8,
pub get_extension: Option<unsafe extern "C" fn(*const clap_host, *const i8) -> *const c_void>,
pub request_restart: Option<unsafe extern "C" fn(*const clap_host)>,
pub request_process: Option<unsafe extern "C" fn(*const clap_host)>,
pub request_callback: Option<unsafe extern "C" fn(*const clap_host)>,
}Fields§
§clap_version: clap_version§host_data: *mut c_void§name: *const i8§vendor: *const i8§url: *const i8§version: *const i8§get_extension: Option<unsafe extern "C" fn(*const clap_host, *const i8) -> *const c_void>§request_restart: Option<unsafe extern "C" fn(*const clap_host)>§request_process: Option<unsafe extern "C" fn(*const clap_host)>§request_callback: Option<unsafe extern "C" fn(*const clap_host)>Trait Implementations§
impl Copy for clap_host
impl Send for clap_host
impl Sync for clap_host
Auto Trait Implementations§
impl Freeze for clap_host
impl RefUnwindSafe for clap_host
impl Unpin for clap_host
impl UnsafeUnpin for clap_host
impl UnwindSafe for clap_host
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