Struct MethodInfo
#[repr(C)]pub struct MethodInfo {Show 14 fields
pub method_ptr: *mut u8,
pub invoker_method: *const u8,
pub name: *const u8,
pub class: Option<&'static Il2CppClass>,
pub return_type: *const u8,
pub parameters: *const ParameterInfo,
pub info_or_definition: *const u8,
pub generic_method_or_container: *const u8,
pub token: u32,
pub flags: u16,
pub iflags: u16,
pub slot: u16,
pub parameters_count: u8,
pub bitflags: u8,
}Fields§
§method_ptr: *mut u8§invoker_method: *const u8§name: *const u8§class: Option<&'static Il2CppClass>§return_type: *const u8§parameters: *const ParameterInfo§info_or_definition: *const u8§generic_method_or_container: *const u8§token: u32§flags: u16§iflags: u16§slot: u16§parameters_count: u8§bitflags: u8Implementations§
§impl MethodInfo
impl MethodInfo
pub fn new() -> MethodInfo
pub fn is_generic_definition(&self) -> bool
pub fn get_name(&self) -> Option<String>
pub fn get_parameters(&self) -> &[ParameterInfo]
Trait Implementations§
§impl Clone for MethodInfo
impl Clone for MethodInfo
§fn clone(&self) -> MethodInfo
fn clone(&self) -> MethodInfo
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Default for MethodInfo
impl Default for MethodInfo
§fn default() -> MethodInfo
fn default() -> MethodInfo
Returns the “default value” for a type. Read more
§impl From<&'static MethodInfo> for IntPtr
impl From<&'static MethodInfo> for IntPtr
§fn from(mi: &'static MethodInfo) -> IntPtr
fn from(mi: &'static MethodInfo) -> IntPtr
Converts to this type from the input type.
impl Copy for MethodInfo
impl Send for MethodInfo
impl Sync for MethodInfo
Auto Trait Implementations§
impl Freeze for MethodInfo
impl RefUnwindSafe for MethodInfo
impl Unpin for MethodInfo
impl UnwindSafe for MethodInfo
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)