#[repr(C)]pub struct IRModuleObj {
pub functions: Map<GlobalVar, BaseFunc>,
pub attrs: DictAttrs,
pub global_infos: Map<String, Array<GlobalInfo>>,
pub global_var_map: Map<String, GlobalVar>,
/* private fields */
}Expand description
Complete: reflected fields fill [24, 56) exactly.
Fields§
§functions: Map<GlobalVar, BaseFunc>§attrs: DictAttrs§global_infos: Map<String, Array<GlobalInfo>>§global_var_map: Map<String, GlobalVar>Trait Implementations§
Source§impl<'a> From<&'a IRModuleObj> for AnyView<'a>
impl<'a> From<&'a IRModuleObj> for AnyView<'a>
Source§fn from(value: &'a IRModuleObj) -> Self
fn from(value: &'a IRModuleObj) -> Self
Converts to this type from the input type.
Source§impl ObjectCore for IRModuleObj
impl ObjectCore for IRModuleObj
Source§const TYPE_DEPTH: i32 = 1i32
const TYPE_DEPTH: i32 = 1i32
Depth of this type in the object inheritance tree. Read more
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 IRModuleObj
impl RefUnwindSafe for IRModuleObj
impl !Send for IRModuleObj
impl !Sync for IRModuleObj
impl Unpin for IRModuleObj
impl UnwindSafe for IRModuleObj
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