CBaseInterfaceInfo

Trait CBaseInterfaceInfo 

Source
pub trait CBaseInterfaceInfo {
    type Interface: CBaseBinding;

    // Required methods
    fn interface_version(&self) -> Version;
    fn internal_interface(&self) -> &Self::Interface;
}
Expand description

A trait for providing information about the loaded interface.

Required Associated Types§

Source

type Interface: CBaseBinding

Type of the interface.

Required Methods§

Source

fn interface_version(&self) -> Version

Returns the version of the interface.

Source

fn internal_interface(&self) -> &Self::Interface

Fetches the internal low-level interface.

Implementors§

Source§

impl<'interface> CBaseInterfaceInfo for CBase<'interface>

Source§

impl<'interface> CBaseInterfaceInfo for CBaseRef<'interface>