#[repr(C)]pub struct ModuleObj { /* private fields */ }
Expand description
A TVM FFI Module for loading dynamic libraries and retrieving functions.
Trait Implementations§
Source§impl ObjectCore for ModuleObj
impl ObjectCore for ModuleObj
fn type_index() -> i32
Source§unsafe fn object_header_mut(this: &mut Self) -> &mut TVMFFIObject
unsafe fn object_header_mut(this: &mut Self) -> &mut TVMFFIObject
Return the object header
This function is implemented as a static function so Read more
Auto Trait Implementations§
impl !Freeze for ModuleObj
impl RefUnwindSafe for ModuleObj
impl Send for ModuleObj
impl Sync for ModuleObj
impl Unpin for ModuleObj
impl UnwindSafe for ModuleObj
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