Trait emf_core_base_rs::fn_caster::FnCaster[][src]

pub trait FnCaster {
    type Type;

    const ID: FnId;

    fn cast(&self, func: CBaseFn) -> Self::Type;
}

Interface of a function caster.

Associated Types

type Type[src]

Type of the function.

Loading content...

Associated Constants

const ID: FnId[src]

Id of the function

Loading content...

Required methods

fn cast(&self, func: CBaseFn) -> Self::Type[src]

Cast unsafe the function to a safer type.

Loading content...

Implementors

impl FnCaster for GetUnwindInternalInterfaceCaster[src]

type Type = GetUnwindInternalInterfaceFn

impl FnCaster for CreateLibraryHandleCaster[src]

type Type = CreateLibraryHandleFn

impl FnCaster for GetDataSymbolCaster[src]

type Type = GetDataSymbolFn

impl FnCaster for GetFunctionSymbolCaster[src]

type Type = GetFunctionSymbolFn

impl FnCaster for GetInternalLibraryHandleCaster[src]

type Type = GetInternalLibraryHandleFn

impl FnCaster for GetLibraryTypesCaster[src]

type Type = GetLibraryTypesFn

impl FnCaster for GetLoaderHandleFromLibraryCaster[src]

type Type = GetLoaderHandleFromLibraryFn

impl FnCaster for emf_core_base_rs::fn_caster::library::GetLoaderHandleFromTypeCaster[src]

type Type = GetLoaderHandleFromTypeFn

impl FnCaster for emf_core_base_rs::fn_caster::library::GetLoaderInterfaceCaster[src]

type Type = GetLoaderInterfaceFn

impl FnCaster for emf_core_base_rs::fn_caster::library::GetNumLoadersCaster[src]

type Type = GetNumLoadersFn

impl FnCaster for LibraryExistsCaster[src]

type Type = LibraryExistsFn

impl FnCaster for LinkLibraryCaster[src]

type Type = LinkLibraryFn

impl FnCaster for emf_core_base_rs::fn_caster::library::LoadCaster[src]

type Type = LoadFn

impl FnCaster for emf_core_base_rs::fn_caster::library::RegisterLoaderCaster[src]

type Type = RegisterLoaderFn

impl FnCaster for RemoveLibraryHandleCaster[src]

type Type = RemoveLibraryHandleFn

impl FnCaster for emf_core_base_rs::fn_caster::library::TypeExistsCaster[src]

type Type = TypeExistsFn

impl FnCaster for emf_core_base_rs::fn_caster::library::UnloadCaster[src]

type Type = UnloadFn

impl FnCaster for emf_core_base_rs::fn_caster::library::UnregisterLoaderCaster[src]

type Type = UnregisterLoaderFn

impl FnCaster for AddDependencyCaster[src]

type Type = AddDependencyFn

impl FnCaster for AddModuleCaster[src]

type Type = AddModuleFn

impl FnCaster for CreateModuleHandleCaster[src]

type Type = CreateModuleHandleFn

impl FnCaster for ExportInterfaceCaster[src]

type Type = ExportInterfaceFn

impl FnCaster for ExportedInterfaceExistsCaster[src]

type Type = ExportedInterfaceExistsFn

impl FnCaster for FetchStatusCaster[src]

type Type = FetchStatusFn

impl FnCaster for GetExportableInterfacesCaster[src]

type Type = GetExportableInterfacesFn

impl FnCaster for GetExportedInterfaceHandleCaster[src]

type Type = GetExportedInterfaceHandleFn

impl FnCaster for GetExportedInterfacesCaster[src]

type Type = GetExportedInterfacesFn

impl FnCaster for GetInterfaceCaster[src]

type Type = GetInterfaceFn

impl FnCaster for GetInternalModuleHandleCaster[src]

type Type = GetInternalModuleHandleFn

impl FnCaster for GetLoadDependenciesCaster[src]

type Type = GetLoadDependenciesFn

impl FnCaster for GetLoaderHandleFromModuleCaster[src]

type Type = GetLoaderHandleFromModuleFn

impl FnCaster for emf_core_base_rs::fn_caster::module::GetLoaderHandleFromTypeCaster[src]

type Type = GetLoaderHandleFromTypeFn

impl FnCaster for emf_core_base_rs::fn_caster::module::GetLoaderInterfaceCaster[src]

type Type = GetLoaderInterfaceFn

impl FnCaster for GetModuleInfoCaster[src]

type Type = GetModuleInfoFn

impl FnCaster for GetModulePathCaster[src]

type Type = GetModulePathFn

impl FnCaster for GetModuleTypesCaster[src]

type Type = GetModuleTypesFn

impl FnCaster for GetModulesCaster[src]

type Type = GetModulesFn

impl FnCaster for GetNumExportedInterfacesCaster[src]

type Type = GetNumExportedInterfacesFn

impl FnCaster for emf_core_base_rs::fn_caster::module::GetNumLoadersCaster[src]

type Type = GetNumLoadersFn

impl FnCaster for GetNumModulesCaster[src]

type Type = GetNumModulesFn

impl FnCaster for GetRuntimeDependenciesCaster[src]

type Type = GetRuntimeDependenciesFn

impl FnCaster for InitializeCaster[src]

type Type = InitializeFn

impl FnCaster for LinkModuleCaster[src]

type Type = LinkModuleFn

impl FnCaster for emf_core_base_rs::fn_caster::module::LoadCaster[src]

type Type = LoadFn

impl FnCaster for ModuleExistsCaster[src]

type Type = ModuleExistsFn

impl FnCaster for emf_core_base_rs::fn_caster::module::RegisterLoaderCaster[src]

type Type = RegisterLoaderFn

impl FnCaster for RemoveDependencyCaster[src]

type Type = RemoveDependencyFn

impl FnCaster for RemoveModuleCaster[src]

type Type = RemoveModuleFn

impl FnCaster for RemoveModuleHandleCaster[src]

type Type = RemoveModuleHandleFn

impl FnCaster for TerminateCaster[src]

type Type = TerminateFn

impl FnCaster for emf_core_base_rs::fn_caster::module::TypeExistsCaster[src]

type Type = TypeExistsFn

impl FnCaster for emf_core_base_rs::fn_caster::module::UnloadCaster[src]

type Type = UnloadFn

impl FnCaster for emf_core_base_rs::fn_caster::module::UnregisterLoaderCaster[src]

type Type = UnregisterLoaderFn

impl FnCaster for GetFunctionCaster[src]

type Type = GetFunctionFn

impl FnCaster for GetSyncHandlerCaster[src]

type Type = GetSyncHandlerFn

impl FnCaster for HasFunctionCaster[src]

type Type = HasFunctionFn

impl FnCaster for LockCaster[src]

type Type = LockFn

impl FnCaster for PanicCaster[src]

type Type = PanicFn

impl FnCaster for SetSyncHandlerCaster[src]

type Type = SetSyncHandlerFn

impl FnCaster for ShutdownCaster[src]

type Type = ShutdownFn

impl FnCaster for TryLockCaster[src]

type Type = TryLockFn

impl FnCaster for UnlockCaster[src]

type Type = UnlockFn

impl FnCaster for AsStringFullCaster[src]

type Type = AsStringFullFn

impl FnCaster for AsStringLongCaster[src]

type Type = AsStringLongFn

impl FnCaster for AsStringShortCaster[src]

type Type = AsStringShortFn

impl FnCaster for CompareCaster[src]

type Type = CompareFn

impl FnCaster for CompareStrongCaster[src]

type Type = CompareStrongFn

impl FnCaster for CompareWeakCaster[src]

type Type = CompareWeakFn

impl FnCaster for FromStringCaster[src]

type Type = FromStringFn

impl FnCaster for IsCompatibleCaster[src]

type Type = IsCompatibleFn

impl FnCaster for NewFullCaster[src]

type Type = NewFullFn

impl FnCaster for NewLongCaster[src]

type Type = NewLongFn

impl FnCaster for NewShortCaster[src]

type Type = NewShortFn

impl FnCaster for StringIsValidCaster[src]

type Type = StringIsValidFn

impl FnCaster for StringLengthFullCaster[src]

type Type = StringLengthFullFn

impl FnCaster for StringLengthLongCaster[src]

type Type = StringLengthLongFn

impl FnCaster for StringLengthShortCaster[src]

type Type = StringLengthShortFn

Loading content...