pub struct LuaBase(/* private fields */);Expand description
IL2CPP class: MoonSharp.Interpreter.Interop.LuaStateInterop.LuaBase
Inherits: Object
Implementations§
Source§impl LuaBase
impl LuaBase
pub fn lua_tnone() -> i32
pub fn set_lua_tnone(value: i32)
pub fn lua_tnil() -> i32
pub fn set_lua_tnil(value: i32)
pub fn lua_tboolean() -> i32
pub fn set_lua_tboolean(value: i32)
pub fn lua_tlightuserdata() -> i32
pub fn set_lua_tlightuserdata(value: i32)
pub fn lua_tnumber() -> i32
pub fn set_lua_tnumber(value: i32)
pub fn lua_tstring() -> i32
pub fn set_lua_tstring(value: i32)
pub fn lua_ttable() -> i32
pub fn set_lua_ttable(value: i32)
pub fn lua_tfunction() -> i32
pub fn set_lua_tfunction(value: i32)
pub fn lua_tuserdata() -> i32
pub fn set_lua_tuserdata(value: i32)
pub fn lua_tthread() -> i32
pub fn set_lua_tthread(value: i32)
pub fn lua_multret() -> i32
pub fn set_lua_multret(value: i32)
pub fn lua_intfrmlen() -> Il2CppString
pub fn set_lua_intfrmlen(value: Il2CppString)
Source§impl LuaBase
impl LuaBase
Sourcepub fn get_argument(l: impl Into<LuaState>, pos: impl Into<i32>) -> DynValue
pub fn get_argument(l: impl Into<LuaState>, pos: impl Into<i32>) -> DynValue
GetArgument(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState, i32) overload
Sourcepub fn arg_as_type(
l: impl Into<LuaState>,
pos: impl Into<i32>,
type: impl Into<DataType>,
allow_nil: impl Into<bool>,
) -> DynValue
pub fn arg_as_type( l: impl Into<LuaState>, pos: impl Into<i32>, type: impl Into<DataType>, allow_nil: impl Into<bool>, ) -> DynValue
ArgAsType(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState, i32, crate::moon_sharp::interpreter::datatype::DataType, bool) overload
Sourcepub fn lua_type(l: impl Into<LuaState>, p: impl Into<i32>) -> i32
pub fn lua_type(l: impl Into<LuaState>, p: impl Into<i32>) -> i32
LuaType(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState, i32) overload
Sourcepub fn lua_l_check_l_string(
l: impl Into<LuaState>,
arg_num: impl Into<i32>,
) -> (Il2CppString, u32)
pub fn lua_l_check_l_string( l: impl Into<LuaState>, arg_num: impl Into<i32>, ) -> (Il2CppString, u32)
LuaLCheckLString(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState, i32, *mutu32) overload
Sourcepub fn lua_push_integer(l: impl Into<LuaState>, val: impl Into<i32>)
pub fn lua_push_integer(l: impl Into<LuaState>, val: impl Into<i32>)
LuaPushInteger(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState, i32) overload
Sourcepub fn lua_to_boolean(l: impl Into<LuaState>, p: impl Into<i32>) -> i32
pub fn lua_to_boolean(l: impl Into<LuaState>, p: impl Into<i32>) -> i32
LuaToBoolean(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState, i32) overload
Sourcepub fn lua_to_l_string(
lua_state: impl Into<LuaState>,
p: impl Into<i32>,
) -> (Il2CppString, u32)
pub fn lua_to_l_string( lua_state: impl Into<LuaState>, p: impl Into<i32>, ) -> (Il2CppString, u32)
LuaToLString(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState, i32, *mutu32) overload
Sourcepub fn lua_to_string(
lua_state: impl Into<LuaState>,
p: impl Into<i32>,
) -> Il2CppString
pub fn lua_to_string( lua_state: impl Into<LuaState>, p: impl Into<i32>, ) -> Il2CppString
LuaToString(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState, i32) overload
Sourcepub fn lua_l_add_value(b: impl Into<LuaLBuffer>)
pub fn lua_l_add_value(b: impl Into<LuaLBuffer>)
LuaLAddValue(crate::moon_sharp::interpreter::interop::lua_state_interop::lualbuffer::LuaLBuffer) overload
Sourcepub fn lua_l_add_l_string(
b: impl Into<LuaLBuffer>,
s: impl Into<CharPtr>,
p: impl Into<u32>,
)
pub fn lua_l_add_l_string( b: impl Into<LuaLBuffer>, s: impl Into<CharPtr>, p: impl Into<u32>, )
LuaLAddLString(crate::moon_sharp::interpreter::interop::lua_state_interop::lualbuffer::LuaLBuffer, crate::moon_sharp::interpreter::interop::lua_state_interop::charptr::CharPtr, u32) overload
Sourcepub fn lua_l_add_string(b: impl Into<LuaLBuffer>, s: impl Into<Il2CppString>)
pub fn lua_l_add_string(b: impl Into<LuaLBuffer>, s: impl Into<Il2CppString>)
LuaLAddString(crate::moon_sharp::interpreter::interop::lua_state_interop::lualbuffer::LuaLBuffer, ::unity::Il2CppString) overload
Sourcepub fn lua_l_opt_integer(
l: impl Into<LuaState>,
pos: impl Into<i32>,
def: impl Into<i32>,
) -> i32
pub fn lua_l_opt_integer( l: impl Into<LuaState>, pos: impl Into<i32>, def: impl Into<i32>, ) -> i32
LuaLOptInteger(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState, i32, i32) overload
Sourcepub fn lua_l_check_integer(l: impl Into<LuaState>, pos: impl Into<i32>) -> i32
pub fn lua_l_check_integer(l: impl Into<LuaState>, pos: impl Into<i32>) -> i32
LuaLCheckInteger(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState, i32) overload
Sourcepub fn lua_l_arg_check(
l: impl Into<LuaState>,
condition: impl Into<bool>,
arg_num: impl Into<i32>,
message: impl Into<Il2CppString>,
)
pub fn lua_l_arg_check( l: impl Into<LuaState>, condition: impl Into<bool>, arg_num: impl Into<i32>, message: impl Into<Il2CppString>, )
LuaLArgCheck(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState, bool, i32, ::unity::Il2CppString) overload
Sourcepub fn lua_l_check_int(l: impl Into<LuaState>, arg_num: impl Into<i32>) -> i32
pub fn lua_l_check_int(l: impl Into<LuaState>, arg_num: impl Into<i32>) -> i32
LuaLCheckInt(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState, i32) overload
Sourcepub fn lua_get_top(l: impl Into<LuaState>) -> i32
pub fn lua_get_top(l: impl Into<LuaState>) -> i32
LuaGetTop(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState) overload
Sourcepub fn lua_l_error(
lua_state: impl Into<LuaState>,
message: impl Into<Il2CppString>,
args: impl Into<Array<Object>>,
) -> i32
pub fn lua_l_error( lua_state: impl Into<LuaState>, message: impl Into<Il2CppString>, args: impl Into<Array<Object>>, ) -> i32
LuaLError(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState, ::unity::Il2CppString, ::unity::Array<crate::system::object::Object>) overload
Sourcepub fn lua_l_add_char(b: impl Into<LuaLBuffer>, p: impl Into<u16>)
pub fn lua_l_add_char(b: impl Into<LuaLBuffer>, p: impl Into<u16>)
LuaLAddChar(crate::moon_sharp::interpreter::interop::lua_state_interop::lualbuffer::LuaLBuffer, u16) overload
Sourcepub fn lua_l_buff_init(l: impl Into<LuaState>, b: impl Into<LuaLBuffer>)
pub fn lua_l_buff_init(l: impl Into<LuaState>, b: impl Into<LuaLBuffer>)
LuaLBuffInit(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState, crate::moon_sharp::interpreter::interop::lua_state_interop::lualbuffer::LuaLBuffer) overload
Sourcepub fn lua_push_literal(
l: impl Into<LuaState>,
literal_string: impl Into<Il2CppString>,
)
pub fn lua_push_literal( l: impl Into<LuaState>, literal_string: impl Into<Il2CppString>, )
LuaPushLiteral(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState, ::unity::Il2CppString) overload
Sourcepub fn lua_l_push_result(b: impl Into<LuaLBuffer>)
pub fn lua_l_push_result(b: impl Into<LuaLBuffer>)
LuaLPushResult(crate::moon_sharp::interpreter::interop::lua_state_interop::lualbuffer::LuaLBuffer) overload
Sourcepub fn lua_push_l_string(
l: impl Into<LuaState>,
s: impl Into<CharPtr>,
len: impl Into<u32>,
)
pub fn lua_push_l_string( l: impl Into<LuaState>, s: impl Into<CharPtr>, len: impl Into<u32>, )
LuaPushLString(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState, crate::moon_sharp::interpreter::interop::lua_state_interop::charptr::CharPtr, u32) overload
Sourcepub fn lua_l_check_stack(
l: impl Into<LuaState>,
n: impl Into<i32>,
message: impl Into<Il2CppString>,
)
pub fn lua_l_check_stack( l: impl Into<LuaState>, n: impl Into<i32>, message: impl Into<Il2CppString>, )
LuaLCheckStack(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState, i32, ::unity::Il2CppString) overload
Sourcepub fn lua_ql(p: impl Into<Il2CppString>) -> Il2CppString
pub fn lua_ql(p: impl Into<Il2CppString>) -> Il2CppString
LUA_QL(::unity::Il2CppString) overload
Sourcepub fn lua_push_nil(l: impl Into<LuaState>)
pub fn lua_push_nil(l: impl Into<LuaState>)
LuaPushNil(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState) overload
Sourcepub fn lua_assert(p: impl Into<bool>)
pub fn lua_assert(p: impl Into<bool>)
LuaAssert(bool) overload
Sourcepub fn lua_l_type_name(
l: impl Into<LuaState>,
p: impl Into<i32>,
) -> Il2CppString
pub fn lua_l_type_name( l: impl Into<LuaState>, p: impl Into<i32>, ) -> Il2CppString
LuaLTypeName(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState, i32) overload
Sourcepub fn lua_is_string(l: impl Into<LuaState>, p: impl Into<i32>) -> i32
pub fn lua_is_string(l: impl Into<LuaState>, p: impl Into<i32>) -> i32
LuaIsString(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState, i32) overload
Sourcepub fn lua_pop(l: impl Into<LuaState>, p: impl Into<i32>)
pub fn lua_pop(l: impl Into<LuaState>, p: impl Into<i32>)
LuaPop(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState, i32) overload
Sourcepub fn lua_get_table(l: impl Into<LuaState>, p: impl Into<i32>)
pub fn lua_get_table(l: impl Into<LuaState>, p: impl Into<i32>)
LuaGetTable(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState, i32) overload
Sourcepub fn lua_l_opt_int(
l: impl Into<LuaState>,
pos: impl Into<i32>,
def: impl Into<i32>,
) -> i32
pub fn lua_l_opt_int( l: impl Into<LuaState>, pos: impl Into<i32>, def: impl Into<i32>, ) -> i32
LuaLOptInt(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState, i32, i32) overload
Sourcepub fn lua_l_check_string(l: impl Into<LuaState>, p: impl Into<i32>) -> CharPtr
pub fn lua_l_check_string(l: impl Into<LuaState>, p: impl Into<i32>) -> CharPtr
LuaLCheckString(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState, i32) overload
Sourcepub fn lua_l_check_string_str(
l: impl Into<LuaState>,
p: impl Into<i32>,
) -> Il2CppString
pub fn lua_l_check_string_str( l: impl Into<LuaState>, p: impl Into<i32>, ) -> Il2CppString
LuaLCheckStringStr(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState, i32) overload
Sourcepub fn lua_l_arg_error(
l: impl Into<LuaState>,
arg: impl Into<i32>,
p: impl Into<Il2CppString>,
)
pub fn lua_l_arg_error( l: impl Into<LuaState>, arg: impl Into<i32>, p: impl Into<Il2CppString>, )
LuaLArgError(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState, i32, ::unity::Il2CppString) overload
Sourcepub fn lua_l_check_number(l: impl Into<LuaState>, pos: impl Into<i32>) -> f64
pub fn lua_l_check_number(l: impl Into<LuaState>, pos: impl Into<i32>) -> f64
LuaLCheckNumber(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState, i32) overload
Sourcepub fn lua_push_value(l: impl Into<LuaState>, arg: impl Into<i32>)
pub fn lua_push_value(l: impl Into<LuaState>, arg: impl Into<i32>)
LuaPushValue(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState, i32) overload
Sourcepub fn lua_call(
l: impl Into<LuaState>,
nargs: impl Into<i32>,
nresults: impl Into<i32>,
)
pub fn lua_call( l: impl Into<LuaState>, nargs: impl Into<i32>, nresults: impl Into<i32>, )
LuaCall(crate::moon_sharp::interpreter::interop::lua_state_interop::luastate::LuaState, i32, i32) overload
Sourcepub fn memcmp(
ptr1: impl Into<CharPtr>,
ptr2: impl Into<CharPtr>,
size: impl Into<u32>,
) -> i32
pub fn memcmp( ptr1: impl Into<CharPtr>, ptr2: impl Into<CharPtr>, size: impl Into<u32>, ) -> i32
memcmp(crate::moon_sharp::interpreter::interop::lua_state_interop::charptr::CharPtr, crate::moon_sharp::interpreter::interop::lua_state_interop::charptr::CharPtr, u32) overload
Sourcepub fn memcmp_2(
ptr1: impl Into<CharPtr>,
ptr2: impl Into<CharPtr>,
size: impl Into<i32>,
) -> i32
pub fn memcmp_2( ptr1: impl Into<CharPtr>, ptr2: impl Into<CharPtr>, size: impl Into<i32>, ) -> i32
memcmp(crate::moon_sharp::interpreter::interop::lua_state_interop::charptr::CharPtr, crate::moon_sharp::interpreter::interop::lua_state_interop::charptr::CharPtr, i32) overload
Sourcepub fn memchr(
ptr: impl Into<CharPtr>,
c: impl Into<u16>,
count: impl Into<u32>,
) -> CharPtr
pub fn memchr( ptr: impl Into<CharPtr>, c: impl Into<u16>, count: impl Into<u32>, ) -> CharPtr
memchr(crate::moon_sharp::interpreter::interop::lua_state_interop::charptr::CharPtr, u16, u32) overload
Sourcepub fn strpbrk(str: impl Into<CharPtr>, charset: impl Into<CharPtr>) -> CharPtr
pub fn strpbrk(str: impl Into<CharPtr>, charset: impl Into<CharPtr>) -> CharPtr
strpbrk(crate::moon_sharp::interpreter::interop::lua_state_interop::charptr::CharPtr, crate::moon_sharp::interpreter::interop::lua_state_interop::charptr::CharPtr) overload
Sourcepub fn strchr(str: impl Into<CharPtr>, c: impl Into<u16>) -> CharPtr
pub fn strchr(str: impl Into<CharPtr>, c: impl Into<u16>) -> CharPtr
strchr(crate::moon_sharp::interpreter::interop::lua_state_interop::charptr::CharPtr, u16) overload
Sourcepub fn strcpy(dst: impl Into<CharPtr>, src: impl Into<CharPtr>) -> CharPtr
pub fn strcpy(dst: impl Into<CharPtr>, src: impl Into<CharPtr>) -> CharPtr
strcpy(crate::moon_sharp::interpreter::interop::lua_state_interop::charptr::CharPtr, crate::moon_sharp::interpreter::interop::lua_state_interop::charptr::CharPtr) overload
Sourcepub fn strncpy(
dst: impl Into<CharPtr>,
src: impl Into<CharPtr>,
length: impl Into<i32>,
) -> CharPtr
pub fn strncpy( dst: impl Into<CharPtr>, src: impl Into<CharPtr>, length: impl Into<i32>, ) -> CharPtr
strncpy(crate::moon_sharp::interpreter::interop::lua_state_interop::charptr::CharPtr, crate::moon_sharp::interpreter::interop::lua_state_interop::charptr::CharPtr, i32) overload
Sourcepub fn strlen(str: impl Into<CharPtr>) -> i32
pub fn strlen(str: impl Into<CharPtr>) -> i32
strlen(crate::moon_sharp::interpreter::interop::lua_state_interop::charptr::CharPtr) overload
Sourcepub fn sprintf(
buffer: impl Into<CharPtr>,
str: impl Into<CharPtr>,
argv: impl Into<Array<Object>>,
)
pub fn sprintf( buffer: impl Into<CharPtr>, str: impl Into<CharPtr>, argv: impl Into<Array<Object>>, )
sprintf(crate::moon_sharp::interpreter::interop::lua_state_interop::charptr::CharPtr, crate::moon_sharp::interpreter::interop::lua_state_interop::charptr::CharPtr, ::unity::Array<crate::system::object::Object>) overload
Source§impl LuaBase
impl LuaBase
pub fn get_argument_method_info() -> &'static MethodInfo
pub fn arg_as_type_method_info() -> &'static MethodInfo
pub fn lua_type_method_info() -> &'static MethodInfo
pub fn lua_l_check_l_string_method_info() -> &'static MethodInfo
pub fn lua_push_integer_method_info() -> &'static MethodInfo
pub fn lua_to_boolean_method_info() -> &'static MethodInfo
pub fn lua_to_l_string_method_info() -> &'static MethodInfo
pub fn lua_to_string_method_info() -> &'static MethodInfo
pub fn lua_l_add_value_method_info() -> &'static MethodInfo
pub fn lua_l_add_l_string_method_info() -> &'static MethodInfo
pub fn lua_l_add_string_method_info() -> &'static MethodInfo
pub fn lua_l_opt_integer_method_info() -> &'static MethodInfo
pub fn lua_l_check_integer_method_info() -> &'static MethodInfo
pub fn lua_l_arg_check_method_info() -> &'static MethodInfo
pub fn lua_l_check_int_method_info() -> &'static MethodInfo
pub fn lua_get_top_method_info() -> &'static MethodInfo
pub fn lua_l_error_method_info() -> &'static MethodInfo
pub fn lua_l_add_char_method_info() -> &'static MethodInfo
pub fn lua_l_buff_init_method_info() -> &'static MethodInfo
pub fn lua_push_literal_method_info() -> &'static MethodInfo
pub fn lua_l_push_result_method_info() -> &'static MethodInfo
pub fn lua_push_l_string_method_info() -> &'static MethodInfo
pub fn lua_l_check_stack_method_info() -> &'static MethodInfo
pub fn lua_ql_method_info() -> &'static MethodInfo
pub fn lua_push_nil_method_info() -> &'static MethodInfo
pub fn lua_assert_method_info() -> &'static MethodInfo
pub fn lua_l_type_name_method_info() -> &'static MethodInfo
pub fn lua_is_string_method_info() -> &'static MethodInfo
pub fn lua_pop_method_info() -> &'static MethodInfo
pub fn lua_get_table_method_info() -> &'static MethodInfo
pub fn lua_l_opt_int_method_info() -> &'static MethodInfo
pub fn lua_l_check_string_method_info() -> &'static MethodInfo
pub fn lua_l_check_string_str_method_info() -> &'static MethodInfo
pub fn lua_l_arg_error_method_info() -> &'static MethodInfo
pub fn lua_l_check_number_method_info() -> &'static MethodInfo
pub fn lua_push_value_method_info() -> &'static MethodInfo
pub fn lua_call_method_info() -> &'static MethodInfo
pub fn memcmp_method_info() -> &'static MethodInfo
pub fn memcmp_2_method_info() -> &'static MethodInfo
pub fn memchr_method_info() -> &'static MethodInfo
pub fn strpbrk_method_info() -> &'static MethodInfo
pub fn isalpha_method_info() -> &'static MethodInfo
pub fn iscntrl_method_info() -> &'static MethodInfo
pub fn isdigit_method_info() -> &'static MethodInfo
pub fn islower_method_info() -> &'static MethodInfo
pub fn ispunct_method_info() -> &'static MethodInfo
pub fn isspace_method_info() -> &'static MethodInfo
pub fn isupper_method_info() -> &'static MethodInfo
pub fn isalnum_method_info() -> &'static MethodInfo
pub fn isxdigit_method_info() -> &'static MethodInfo
pub fn isgraph_method_info() -> &'static MethodInfo
pub fn isalpha_2_method_info() -> &'static MethodInfo
pub fn iscntrl_2_method_info() -> &'static MethodInfo
pub fn isdigit_2_method_info() -> &'static MethodInfo
pub fn islower_2_method_info() -> &'static MethodInfo
pub fn ispunct_2_method_info() -> &'static MethodInfo
pub fn isspace_2_method_info() -> &'static MethodInfo
pub fn isupper_2_method_info() -> &'static MethodInfo
pub fn isalnum_2_method_info() -> &'static MethodInfo
pub fn isgraph_2_method_info() -> &'static MethodInfo
pub fn tolower_method_info() -> &'static MethodInfo
pub fn toupper_method_info() -> &'static MethodInfo
pub fn tolower_2_method_info() -> &'static MethodInfo
pub fn toupper_2_method_info() -> &'static MethodInfo
pub fn strchr_method_info() -> &'static MethodInfo
pub fn strcpy_method_info() -> &'static MethodInfo
pub fn strncpy_method_info() -> &'static MethodInfo
pub fn strlen_method_info() -> &'static MethodInfo
pub fn sprintf_method_info() -> &'static MethodInfo
pub fn ctor_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for LuaBase
impl ClassIdentity for LuaBase
Source§impl FromIlInstance for LuaBase
impl FromIlInstance for LuaBase
fn from_il_instance(instance: IlInstance) -> Self
fn instantiate() -> Option<Self>
§fn instantiate_with_class(class: Class) -> Option<Self>
fn instantiate_with_class(class: Class) -> Option<Self>
class is a subtype of Self or layout compatibleimpl Copy for LuaBase
impl ILuaBase for LuaBase
impl IObject for LuaBase
Auto Trait Implementations§
impl Freeze for LuaBase
impl RefUnwindSafe for LuaBase
impl !Send for LuaBase
impl !Sync for LuaBase
impl Unpin for LuaBase
impl UnwindSafe for LuaBase
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
§impl<T> Cast for Twhere
T: SystemObject,
impl<T> Cast for Twhere
T: SystemObject,
fn get_class(self) -> Class
fn is_null(self) -> bool
fn rebind_class(self, new_class: Class)
fn override_class(self) -> Class
fn is_instance_of<T>(self) -> boolwhere
T: ClassIdentity,
fn is_direct_subclass_of<T>(self) -> boolwhere
T: ClassIdentity,
fn try_cast<T>(self) -> Option<T>where
T: ClassIdentity + FromIlInstance,
§unsafe fn cast<T>(self) -> Twhere
T: ClassIdentity + FromIlInstance,
unsafe fn cast<T>(self) -> Twhere
T: ClassIdentity + FromIlInstance,
§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)
clone_to_uninit)§impl<T> DefaultInjectedMembers for T
impl<T> DefaultInjectedMembers for T
fn __injected_fields() -> Vec<InjectedFieldDescriptor>
fn __injected_methods() -> Vec<InjectedMethodDescriptor>
fn __injected_overrides() -> Vec<InjectedOverrideDescriptor>
Source§impl<T0, __U> IArrayBuilder_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IArrayBuilder_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, capacity: i32)where
Self: Sized,
fn get_capacity(self) -> i32where
Self: Sized,
fn get_count(self) -> i32where
Self: Sized,
fn get_item(self, index: i32) -> T0where
Self: Sized,
fn add(self, item: T0)where
Self: Sized,
fn to_array(self) -> Array<T0>where
Self: Sized,
fn unchecked_add(self, item: T0)where
Self: Sized,
fn ensure_capacity(self, minimum: i32)where
Self: Sized,
Source§impl<T0, __U> IAsyncOperationHandle_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IAsyncOperationHandle_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn get_location_name(self) -> Il2CppStringwhere
Self: Sized,
fn set_location_name(self, value: Il2CppString)where
Self: Sized,
fn op_implicit(obj: AsyncOperationHandle_1<T0>) -> AsyncOperationHandle
fn ctor(self, op: AsyncOperationBase_1<T0>)where
Self: Sized,
fn get_download_status(self) -> DownloadStatuswhere
Self: Sized,
fn internal_get_download_status(
self,
visited: HashSet_1<Object>,
) -> DownloadStatuswhere
Self: Sized,
fn ctor_2(self, op: IAsyncOperation)where
Self: Sized,
fn ctor_3(self, op: IAsyncOperation, version: i32)where
Self: Sized,
fn ctor_4(self, op: IAsyncOperation, location_name: Il2CppString)where
Self: Sized,
fn ctor_5(self, op: IAsyncOperation, version: i32, location_name: Il2CppString)where
Self: Sized,
fn acquire(self) -> AsyncOperationHandle_1<T0>where
Self: Sized,
fn add_completed(self, value: Action_1<AsyncOperationHandle_1<T0>>)where
Self: Sized,
fn remove_completed(self, value: Action_1<AsyncOperationHandle_1<T0>>)where
Self: Sized,
fn add_completed_typeless(self, value: Action_1<AsyncOperationHandle>)where
Self: Sized,
fn remove_completed_typeless(self, value: Action_1<AsyncOperationHandle>)where
Self: Sized,
fn get_debug_name(self) -> Il2CppStringwhere
Self: Sized,
fn add_destroyed(self, value: Action_1<AsyncOperationHandle>)where
Self: Sized,
fn remove_destroyed(self, value: Action_1<AsyncOperationHandle>)where
Self: Sized,
fn equals(self, other: AsyncOperationHandle_1<T0>) -> boolwhere
Self: Sized,
fn get_hash_code(self) -> i32where
Self: Sized,
fn wait_for_completion(self) -> T0where
Self: Sized,
fn get_internal_op(self) -> AsyncOperationBase_1<T0>where
Self: Sized,
fn get_is_done(self) -> boolwhere
Self: Sized,
fn is_valid(self) -> boolwhere
Self: Sized,
fn get_percent_complete(self) -> f32where
Self: Sized,
fn get_reference_count(self) -> i32where
Self: Sized,
fn release(self)where
Self: Sized,
fn get_result(self) -> T0where
Self: Sized,
fn get_status(self) -> AsyncOperationStatuswhere
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_move_next(self) -> boolwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<T0, __U> ICoreUnsafeUtils_DefaultKeyGetter_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> ICoreUnsafeUtils_DefaultKeyGetter_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
Source§impl<T0, T1, __U> IDictionary_2_EnumeratorMethods<T0, T1> for __U
impl<T0, T1, __U> IDictionary_2_EnumeratorMethods<T0, T1> for __U
fn ctor(self, dictionary: Dictionary_2<T0, T1>, get_enumerator_ret_type: i32)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn get_current(self) -> KeyValuePair_2<T0, T1>where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
fn system_collections_i_dictionary_enumerator_get_entry(self) -> DictionaryEntrywhere
Self: Sized,
fn system_collections_i_dictionary_enumerator_get_key(self) -> Objectwhere
Self: Sized,
fn system_collections_i_dictionary_enumerator_get_value(self) -> Objectwhere
Self: Sized,
Source§impl<T0, T1, __U> IDictionary_2_KeyCollection_EnumeratorMethods<T0, T1> for __U
impl<T0, T1, __U> IDictionary_2_KeyCollection_EnumeratorMethods<T0, T1> for __U
fn ctor(self, dictionary: Dictionary_2<T0, T1>)where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn get_current(self) -> T0where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<T0, T1, __U> IDictionary_2_ValueCollection_EnumeratorMethods<T0, T1> for __U
impl<T0, T1, __U> IDictionary_2_ValueCollection_EnumeratorMethods<T0, T1> for __U
fn ctor(self, dictionary: Dictionary_2<T0, T1>)where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn get_current(self) -> T1where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<T0, __U> IExposedReference_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IExposedReference_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn resolve(self, resolver: IExposedPropertyTable) -> T0where
Self: Sized,
Source§impl<T0, __U> IHashSet_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IHashSet_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, set: HashSet_1<T0>)where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn get_current(self) -> T0where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<T0, __U> IIJobParallelForTransformExtensions_TransformParallelForLoopStruct_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IIJobParallelForTransformExtensions_TransformParallelForLoopStruct_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn initialize() -> IntPtr
Source§impl<T0, T1, __U> IKeyValuePair_2Methods<T0, T1> for __U
impl<T0, T1, __U> IKeyValuePair_2Methods<T0, T1> for __U
Source§impl<T0, __U> ILargeArrayBuilder_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> ILargeArrayBuilder_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, initialize: bool)where
Self: Sized,
fn ctor_2(self, max_capacity: i32)where
Self: Sized,
fn add_range(self, items: IEnumerable_1<T0>)where
Self: Sized,
fn copy_to(self, array: Array<T0>, array_index: i32, count: i32)where
Self: Sized,
fn get_buffer(self, index: i32) -> Array<T0>where
Self: Sized,
fn to_array(self) -> Array<T0>where
Self: Sized,
fn try_move(self) -> (bool, Array<T0>)where
Self: Sized,
fn allocate_buffer(self)where
Self: Sized,
Source§impl<T0, __U> ILinkedList_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> ILinkedList_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, list: LinkedList_1<T0>)where
Self: Sized,
fn get_current(self) -> T0where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn system_runtime_serialization_i_deserialization_callback_on_deserialization(
self,
sender: Object,
)where
Self: Sized,
Source§impl<T0, __U> IListBuffer_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IListBuffer_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn get_count(self) -> i32where
Self: Sized,
fn get_capacity(self) -> i32where
Self: Sized,
fn get_item(self) -> (*mut T0, i32)where
Self: Sized,
fn get_unchecked(self) -> (*mut T0, i32)where
Self: Sized,
fn try_add(self) -> (bool, T0)where
Self: Sized,
fn try_copy_to(self, other: ListBuffer_1<T0>) -> boolwhere
Self: Sized,
Source§impl<T0, __U> IList_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IList_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, list: List_1<T0>)where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn move_next_rare(self) -> boolwhere
Self: Sized,
fn get_current(self) -> T0where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<__T> IObjectMethods for __Twhere
__T: IObject,
impl<__T> IObjectMethods for __Twhere
__T: IObject,
Source§fn equals(self, obj: impl Into<Object>) -> bool
fn equals(self, obj: impl Into<Object>) -> bool
Equals(crate::system::object::Object) overloadSource§fn get_hash_code(self) -> i32
fn get_hash_code(self) -> i32
GetHashCode() overloadSource§fn memberwise_clone(self) -> Object
fn memberwise_clone(self) -> Object
MemberwiseClone() overloadSource§fn to_string(self) -> Il2CppString
fn to_string(self) -> Il2CppString
ToString() overloadSource§fn field_getter(
self,
type_name: impl Into<Il2CppString>,
field_name: impl Into<Il2CppString>,
) -> IlInstance
fn field_getter( self, type_name: impl Into<Il2CppString>, field_name: impl Into<Il2CppString>, ) -> IlInstance
FieldGetter(::unity::Il2CppString, ::unity::Il2CppString, *mut::unity::IlInstance) overloadSource§fn field_setter(
self,
type_name: impl Into<Il2CppString>,
field_name: impl Into<Il2CppString>,
val: impl Into<Object>,
)
fn field_setter( self, type_name: impl Into<Il2CppString>, field_name: impl Into<Il2CppString>, val: impl Into<Object>, )
FieldSetter(::unity::Il2CppString, ::unity::Il2CppString, crate::system::object::Object) overload