pub struct Host { /* private fields */ }
Implementations§
Source§impl Host
impl Host
pub const fn clap_host(&self) -> &clap_host
pub const fn clap_version(&self) -> ClapVersion
Sourcepub const fn get_extension(&self) -> HostExtensions<'_>
pub const fn get_extension(&self) -> HostExtensions<'_>
Source§impl Host
impl Host
Sourcepub fn name(&self) -> &str
pub fn name(&self) -> &str
§Panic
This method will panic if the host returns an invalid UTF-8 string.
Sourcepub fn vendor(&self) -> &str
pub fn vendor(&self) -> &str
§Panic
This method will panic if the host returns an invalid UTF-8 string.
Source§impl Host
impl Host
pub fn request_process(&self)
pub fn request_restart(&self)
pub fn request_callback(&self)
Trait Implementations§
impl Send for Host
impl StructuralPartialEq for Host
impl Sync for Host
Auto Trait Implementations§
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