Struct emf_core_base_rs_ffi::library::library_loader::LibraryLoaderInterface [−][src]
#[repr(C)]pub struct LibraryLoaderInterface { pub loader: Option<NonNull<LibraryLoader>>, pub load_fn: LoadFn, pub unload_fn: UnloadFn, pub get_data_symbol_fn: GetDataSymbolFn, pub get_function_symbol_fn: GetFnSymbolFn, pub get_internal_interface_fn: GetInternalInterfaceFn, }
Interface of a library loader.
Fields
loader: Option<NonNull<LibraryLoader>>
load_fn: LoadFn
unload_fn: UnloadFn
get_data_symbol_fn: GetDataSymbolFn
get_function_symbol_fn: GetFnSymbolFn
get_internal_interface_fn: GetInternalInterfaceFn
Trait Implementations
impl Clone for LibraryLoaderInterface
[src]
impl Clone for LibraryLoaderInterface
[src]fn clone(&self) -> LibraryLoaderInterface
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for LibraryLoaderInterface
[src]
impl Copy for LibraryLoaderInterface
[src]impl Eq for LibraryLoaderInterface
[src]
impl Eq for LibraryLoaderInterface
[src]impl LibraryLoaderBinding for LibraryLoaderInterface
[src]
impl LibraryLoaderBinding for LibraryLoaderInterface
[src]unsafe fn load(
&mut self,
path: NonNullConst<OSPathChar>
) -> Result<InternalHandle, Error>
[src]
&mut self,
path: NonNullConst<OSPathChar>
) -> Result<InternalHandle, Error>
unsafe fn unload(&mut self, handle: InternalHandle) -> Result<i8, Error>
[src]
unsafe fn get_data_symbol(
&self,
handle: InternalHandle,
name: NonNullConst<u8>
) -> Result<Symbol<NonNullConst<c_void>>, Error>
[src]
&self,
handle: InternalHandle,
name: NonNullConst<u8>
) -> Result<Symbol<NonNullConst<c_void>>, Error>
unsafe fn get_function_symbol(
&self,
handle: InternalHandle,
name: NonNullConst<u8>
) -> Result<Symbol<CBaseFn>, Error>
[src]
&self,
handle: InternalHandle,
name: NonNullConst<u8>
) -> Result<Symbol<CBaseFn>, Error>
unsafe fn get_internal_interface(&self) -> NonNullConst<c_void>
[src]
impl Ord for LibraryLoaderInterface
[src]
impl Ord for LibraryLoaderInterface
[src]impl PartialEq<LibraryLoaderInterface> for LibraryLoaderInterface
[src]
impl PartialEq<LibraryLoaderInterface> for LibraryLoaderInterface
[src]fn eq(&self, other: &LibraryLoaderInterface) -> bool
[src]
fn ne(&self, other: &LibraryLoaderInterface) -> bool
[src]
impl PartialOrd<LibraryLoaderInterface> for LibraryLoaderInterface
[src]
impl PartialOrd<LibraryLoaderInterface> for LibraryLoaderInterface
[src]fn partial_cmp(&self, other: &LibraryLoaderInterface) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl Send for LibraryLoaderInterface
[src]
impl Send for LibraryLoaderInterface
[src]impl StructuralEq for LibraryLoaderInterface
[src]
impl StructuralEq for LibraryLoaderInterface
[src]impl Sync for LibraryLoaderInterface
[src]
impl Sync for LibraryLoaderInterface
[src]Auto Trait Implementations
impl RefUnwindSafe for LibraryLoaderInterface
impl RefUnwindSafe for LibraryLoaderInterface
impl Unpin for LibraryLoaderInterface
impl Unpin for LibraryLoaderInterface
impl UnwindSafe for LibraryLoaderInterface
impl UnwindSafe for LibraryLoaderInterface