Trait emf_core_base_rs::CBaseAPILoader [−][src]
pub trait CBaseAPILoader<'interface> { type Interface: CBaseAccess<'interface>; unsafe fn fetch_interface(
base_module: Option<NonNull<CBaseFFI>>,
get_function_fn: GetFunctionFnFFI
) -> Self::Interface; }
Trait for loading the interface.
Associated Types
type Interface: CBaseAccess<'interface>
[src]
Type of the interface.
Required methods
unsafe fn fetch_interface(
base_module: Option<NonNull<CBaseFFI>>,
get_function_fn: GetFunctionFnFFI
) -> Self::Interface
[src]
base_module: Option<NonNull<CBaseFFI>>,
get_function_fn: GetFunctionFnFFI
) -> Self::Interface
Implementors
impl<'interface> CBaseAPILoader<'interface> for CBase<'interface>
[src]
impl<'interface> CBaseAPILoader<'interface> for CBase<'interface>
[src]type Interface = Self
unsafe fn fetch_interface(
base_module: Option<NonNull<CBaseFFI>>,
get_function_fn: GetFunctionFnFFI
) -> Self::Interface
[src]
base_module: Option<NonNull<CBaseFFI>>,
get_function_fn: GetFunctionFnFFI
) -> Self::Interface