Struct libil2cpp::raw::Il2CppClass
source · [−]#[repr(C)]pub struct Il2CppClass {Show 56 fields
pub image: *const Il2CppImage,
pub gc_desc: *mut c_void,
pub name: *const c_char,
pub namespaze: *const c_char,
pub byval_arg: Il2CppType,
pub this_arg: Il2CppType,
pub element_class: *mut Il2CppClass,
pub castClass: *mut Il2CppClass,
pub declaringType: *mut Il2CppClass,
pub parent: *mut Il2CppClass,
pub generic_class: *mut Il2CppGenericClass,
pub typeDefinition: *const Il2CppTypeDefinition,
pub interopData: *const Il2CppInteropData,
pub klass: *mut Il2CppClass,
pub fields: *mut FieldInfo,
pub events: *const EventInfo,
pub properties: *const PropertyInfo,
pub methods: *mut *const MethodInfo,
pub nestedTypes: *mut *mut Il2CppClass,
pub implementedInterfaces: *mut *mut Il2CppClass,
pub interfaceOffsets: *mut Il2CppRuntimeInterfaceOffsetPair,
pub static_fields: *mut c_void,
pub rgctx_data: *const Il2CppRGCTXData,
pub typeHierarchy: *mut *mut Il2CppClass,
pub unity_user_data: *mut c_void,
pub initializationExceptionGCHandle: u32,
pub cctor_started: u32,
pub cctor_finished: u32,
pub cctor_thread: size_t,
pub genericContainerIndex: GenericContainerIndex,
pub instance_size: u32,
pub actualSize: u32,
pub element_size: u32,
pub native_size: i32,
pub static_fields_size: u32,
pub thread_static_fields_size: u32,
pub thread_static_fields_offset: i32,
pub flags: u32,
pub token: u32,
pub method_count: u16,
pub property_count: u16,
pub field_count: u16,
pub event_count: u16,
pub nested_type_count: u16,
pub vtable_count: u16,
pub interfaces_count: u16,
pub interface_offsets_count: u16,
pub typeHierarchyDepth: u8,
pub genericRecursionDepth: u8,
pub rank: u8,
pub minimumAlignment: u8,
pub naturalAligment: u8,
pub packingSize: u8,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
pub vtable: __IncompleteArrayField<VirtualInvokeData>,
}
Fields
image: *const Il2CppImage
gc_desc: *mut c_void
name: *const c_char
namespaze: *const c_char
byval_arg: Il2CppType
this_arg: Il2CppType
element_class: *mut Il2CppClass
castClass: *mut Il2CppClass
declaringType: *mut Il2CppClass
parent: *mut Il2CppClass
generic_class: *mut Il2CppGenericClass
typeDefinition: *const Il2CppTypeDefinition
interopData: *const Il2CppInteropData
klass: *mut Il2CppClass
fields: *mut FieldInfo
events: *const EventInfo
properties: *const PropertyInfo
methods: *mut *const MethodInfo
nestedTypes: *mut *mut Il2CppClass
implementedInterfaces: *mut *mut Il2CppClass
interfaceOffsets: *mut Il2CppRuntimeInterfaceOffsetPair
static_fields: *mut c_void
rgctx_data: *const Il2CppRGCTXData
typeHierarchy: *mut *mut Il2CppClass
unity_user_data: *mut c_void
initializationExceptionGCHandle: u32
cctor_started: u32
cctor_finished: u32
cctor_thread: size_t
genericContainerIndex: GenericContainerIndex
instance_size: u32
actualSize: u32
element_size: u32
native_size: i32
static_fields_size: u32
thread_static_fields_size: u32
thread_static_fields_offset: i32
flags: u32
token: u32
method_count: u16
property_count: u16
field_count: u16
event_count: u16
nested_type_count: u16
vtable_count: u16
interfaces_count: u16
interface_offsets_count: u16
typeHierarchyDepth: u8
genericRecursionDepth: u8
rank: u8
minimumAlignment: u8
naturalAligment: u8
packingSize: u8
_bitfield_align_1: [u8; 0]
_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>
vtable: __IncompleteArrayField<VirtualInvokeData>
Implementations
sourceimpl Il2CppClass
impl Il2CppClass
pub fn initialized_and_no_error(&self) -> u8
pub fn set_initialized_and_no_error(&mut self, val: u8)
pub fn valuetype(&self) -> u8
pub fn set_valuetype(&mut self, val: u8)
pub fn initialized(&self) -> u8
pub fn set_initialized(&mut self, val: u8)
pub fn enumtype(&self) -> u8
pub fn set_enumtype(&mut self, val: u8)
pub fn is_generic(&self) -> u8
pub fn set_is_generic(&mut self, val: u8)
pub fn has_references(&self) -> u8
pub fn set_has_references(&mut self, val: u8)
pub fn init_pending(&self) -> u8
pub fn set_init_pending(&mut self, val: u8)
pub fn size_inited(&self) -> u8
pub fn set_size_inited(&mut self, val: u8)
pub fn has_finalize(&self) -> u8
pub fn set_has_finalize(&mut self, val: u8)
pub fn has_cctor(&self) -> u8
pub fn set_has_cctor(&mut self, val: u8)
pub fn is_blittable(&self) -> u8
pub fn set_is_blittable(&mut self, val: u8)
pub fn is_import_or_windows_runtime(&self) -> u8
pub fn set_is_import_or_windows_runtime(&mut self, val: u8)
pub fn is_vtable_initialized(&self) -> u8
pub fn set_is_vtable_initialized(&mut self, val: u8)
pub fn has_initialization_error(&self) -> u8
pub fn set_has_initialization_error(&mut self, val: u8)
pub fn new_bitfield_1(
initialized_and_no_error: u8,
valuetype: u8,
initialized: u8,
enumtype: u8,
is_generic: u8,
has_references: u8,
init_pending: u8,
size_inited: u8,
has_finalize: u8,
has_cctor: u8,
is_blittable: u8,
is_import_or_windows_runtime: u8,
is_vtable_initialized: u8,
has_initialization_error: u8
) -> __BindgenBitfieldUnit<[u8; 2]>
Auto Trait Implementations
impl RefUnwindSafe for Il2CppClass
impl !Send for Il2CppClass
impl !Sync for Il2CppClass
impl Unpin for Il2CppClass
impl UnwindSafe for Il2CppClass
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more