pub struct HostFunctionList {
pub module_name: CString,
pub native_symbols: Vec<NativeSymbol>,
/* private fields */
}
Fields§
§module_name: CString
§native_symbols: Vec<NativeSymbol>
Implementations§
Source§impl HostFunctionList
impl HostFunctionList
pub fn new(module_name: &str) -> Self
pub fn register_host_function( &mut self, function_name: &str, function_ptr: *mut c_void, )
pub fn get_native_symbols(&mut self) -> &mut Vec<NativeSymbol>
pub fn get_module_name(&mut self) -> &CString
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HostFunctionList
impl RefUnwindSafe for HostFunctionList
impl !Send for HostFunctionList
impl !Sync for HostFunctionList
impl Unpin for HostFunctionList
impl UnwindSafe for HostFunctionList
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more