Struct emf_core_base_rs_ffi::library::library_loader::NativeLibraryLoaderInterface [−][src]
#[repr(C)]pub struct NativeLibraryLoaderInterface { pub loader: NonNullConst<LibraryLoaderInterface>, pub load_ext_fn: LoadExtFn, pub get_native_handle_fn: GetNativeHandleFn, }
Interface of a native library loader.
Fields
loader: NonNullConst<LibraryLoaderInterface>
load_ext_fn: LoadExtFn
get_native_handle_fn: GetNativeHandleFn
Trait Implementations
impl Clone for NativeLibraryLoaderInterface
[src]
impl Clone for NativeLibraryLoaderInterface
[src]fn clone(&self) -> NativeLibraryLoaderInterface
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for NativeLibraryLoaderInterface
[src]
impl Copy for NativeLibraryLoaderInterface
[src]impl Eq for NativeLibraryLoaderInterface
[src]
impl Eq for NativeLibraryLoaderInterface
[src]impl LibraryLoaderBinding for NativeLibraryLoaderInterface
[src]
impl LibraryLoaderBinding for NativeLibraryLoaderInterface
[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 NativeLibraryLoaderBindingWindows for NativeLibraryLoaderInterface
[src]
impl NativeLibraryLoaderBindingWindows for NativeLibraryLoaderInterface
[src]Helper trait for using a native library loader.
unsafe fn load_ext(
&mut self,
path: NonNullConst<OSPathChar>,
h_file: Option<NonNull<HANDLE>>,
flags: u32
) -> Result<InternalHandle, Error>
[src]
&mut self,
path: NonNullConst<OSPathChar>,
h_file: Option<NonNull<HANDLE>>,
flags: u32
) -> Result<InternalHandle, Error>
unsafe fn get_native_handle(
&self,
handle: InternalHandle
) -> Result<NativeLibraryHandle, Error>
[src]
&self,
handle: InternalHandle
) -> Result<NativeLibraryHandle, Error>
impl Ord for NativeLibraryLoaderInterface
[src]
impl Ord for NativeLibraryLoaderInterface
[src]impl PartialEq<NativeLibraryLoaderInterface> for NativeLibraryLoaderInterface
[src]
impl PartialEq<NativeLibraryLoaderInterface> for NativeLibraryLoaderInterface
[src]fn eq(&self, other: &NativeLibraryLoaderInterface) -> bool
[src]
fn ne(&self, other: &NativeLibraryLoaderInterface) -> bool
[src]
impl PartialOrd<NativeLibraryLoaderInterface> for NativeLibraryLoaderInterface
[src]
impl PartialOrd<NativeLibraryLoaderInterface> for NativeLibraryLoaderInterface
[src]fn partial_cmp(&self, other: &NativeLibraryLoaderInterface) -> 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 NativeLibraryLoaderInterface
[src]
impl Send for NativeLibraryLoaderInterface
[src]impl Sync for NativeLibraryLoaderInterface
[src]
impl Sync for NativeLibraryLoaderInterface
[src]Auto Trait Implementations
impl Unpin for NativeLibraryLoaderInterface
impl Unpin for NativeLibraryLoaderInterface
impl UnwindSafe for NativeLibraryLoaderInterface
impl UnwindSafe for NativeLibraryLoaderInterface