pub trait ICallbackArgumentsMethods: ICallbackArguments {
Show 13 methods
// Provided methods
fn ctor(
self,
args: impl Into<IList_1_Interface<DynValue>>,
is_method_call: impl Into<bool>,
) { ... }
fn get_count(self) -> i32 { ... }
fn get_is_method_call(self) -> bool { ... }
fn set_is_method_call(self, value: impl Into<bool>) { ... }
fn get_item(self, index: impl Into<i32>) -> DynValue { ... }
fn raw_get(
self,
index: impl Into<i32>,
translate_voids: impl Into<bool>,
) -> DynValue { ... }
fn get_array(self, skip: impl Into<i32>) -> Array<DynValue> { ... }
fn as_type(
self,
arg_num: impl Into<i32>,
func_name: impl Into<Il2CppString>,
type: impl Into<DataType>,
allow_nil: impl Into<bool>,
) -> DynValue { ... }
fn as_user_data<M0: IlType + Copy + ClassIdentity>(
self,
arg_num: impl Into<i32>,
func_name: impl Into<Il2CppString>,
allow_nil: impl Into<bool>,
) -> M0 { ... }
fn as_int(
self,
arg_num: impl Into<i32>,
func_name: impl Into<Il2CppString>,
) -> i32 { ... }
fn as_long(
self,
arg_num: impl Into<i32>,
func_name: impl Into<Il2CppString>,
) -> i64 { ... }
fn as_string_using_meta(
self,
execution_context: impl Into<ScriptExecutionContext>,
arg_num: impl Into<i32>,
func_name: impl Into<Il2CppString>,
) -> Il2CppString { ... }
fn skip_method_call(self) -> CallbackArguments { ... }
}Provided Methods§
Sourcefn ctor(
self,
args: impl Into<IList_1_Interface<DynValue>>,
is_method_call: impl Into<bool>,
)
fn ctor( self, args: impl Into<IList_1_Interface<DynValue>>, is_method_call: impl Into<bool>, )
.ctor(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::moon_sharp::interpreter::dynvalue::DynValue>, bool) overload
Sourcefn get_is_method_call(self) -> bool
fn get_is_method_call(self) -> bool
get_IsMethodCall() overload
Sourcefn set_is_method_call(self, value: impl Into<bool>)
fn set_is_method_call(self, value: impl Into<bool>)
set_IsMethodCall(bool) overload
Sourcefn raw_get(
self,
index: impl Into<i32>,
translate_voids: impl Into<bool>,
) -> DynValue
fn raw_get( self, index: impl Into<i32>, translate_voids: impl Into<bool>, ) -> DynValue
RawGet(i32, bool) overload
Sourcefn as_type(
self,
arg_num: impl Into<i32>,
func_name: impl Into<Il2CppString>,
type: impl Into<DataType>,
allow_nil: impl Into<bool>,
) -> DynValue
fn as_type( self, arg_num: impl Into<i32>, func_name: impl Into<Il2CppString>, type: impl Into<DataType>, allow_nil: impl Into<bool>, ) -> DynValue
AsType(i32, ::unity::Il2CppString, crate::moon_sharp::interpreter::datatype::DataType, bool) overload
fn as_user_data<M0: IlType + Copy + ClassIdentity>( self, arg_num: impl Into<i32>, func_name: impl Into<Il2CppString>, allow_nil: impl Into<bool>, ) -> M0
Sourcefn as_int(
self,
arg_num: impl Into<i32>,
func_name: impl Into<Il2CppString>,
) -> i32
fn as_int( self, arg_num: impl Into<i32>, func_name: impl Into<Il2CppString>, ) -> i32
AsInt(i32, ::unity::Il2CppString) overload
Sourcefn as_long(
self,
arg_num: impl Into<i32>,
func_name: impl Into<Il2CppString>,
) -> i64
fn as_long( self, arg_num: impl Into<i32>, func_name: impl Into<Il2CppString>, ) -> i64
AsLong(i32, ::unity::Il2CppString) overload
Sourcefn as_string_using_meta(
self,
execution_context: impl Into<ScriptExecutionContext>,
arg_num: impl Into<i32>,
func_name: impl Into<Il2CppString>,
) -> Il2CppString
fn as_string_using_meta( self, execution_context: impl Into<ScriptExecutionContext>, arg_num: impl Into<i32>, func_name: impl Into<Il2CppString>, ) -> Il2CppString
AsStringUsingMeta(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, i32, ::unity::Il2CppString) overload
Sourcefn skip_method_call(self) -> CallbackArguments
fn skip_method_call(self) -> CallbackArguments
SkipMethodCall() overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: ICallbackArguments> ICallbackArgumentsMethods for __T
Available on crate feature
moon_sharp-interpreter-callbackarguments only.