#[repr(C)]pub struct OsDllApi {
pub open: Option<unsafe extern "C" fn(path: *const c_char) -> DllO>,
pub get: Option<unsafe extern "C" fn(path: *const c_char) -> DllO>,
pub sym: Option<unsafe extern "C" fn(handle: DllO, name: *const c_char) -> *mut c_void>,
pub close: Option<unsafe extern "C" fn(handle: DllO)>,
}
Fields§
§open: Option<unsafe extern "C" fn(path: *const c_char) -> DllO>
§get: Option<unsafe extern "C" fn(path: *const c_char) -> DllO>
§sym: Option<unsafe extern "C" fn(handle: DllO, name: *const c_char) -> *mut c_void>
§close: Option<unsafe extern "C" fn(handle: DllO)>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OsDllApi
impl RefUnwindSafe for OsDllApi
impl Send for OsDllApi
impl Sync for OsDllApi
impl Unpin for OsDllApi
impl UnwindSafe for OsDllApi
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