#[repr(C)]
pub struct clap_host { pub clap_version: clap_version, pub host_data: *mut c_void, pub name: *const c_char, pub vendor: *const c_char, pub url: *const c_char, pub version: *const c_char, pub get_extension: unsafe extern "C" fn(host: *const clap_host, extension_id: *const c_char) -> *const c_void, pub request_restart: unsafe extern "C" fn(host: *const clap_host), pub request_process: unsafe extern "C" fn(host: *const clap_host), pub request_callback: unsafe extern "C" fn(host: *const clap_host), }

Fields

clap_version: clap_versionhost_data: *mut c_voidname: *const c_charvendor: *const c_charurl: *const c_charversion: *const c_charget_extension: unsafe extern "C" fn(host: *const clap_host, extension_id: *const c_char) -> *const c_voidrequest_restart: unsafe extern "C" fn(host: *const clap_host)request_process: unsafe extern "C" fn(host: *const clap_host)request_callback: unsafe extern "C" fn(host: *const clap_host)

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.

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

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.