pub trait IEnumerableWrapperMethods: IEnumerableWrapper {
// Provided methods
fn ctor(self, script: impl Into<Script>, enumerator: impl Into<IEnumerator>) { ... }
fn reset(self) { ... }
fn get_next(self, prev: impl Into<DynValue>) -> DynValue { ... }
fn lua_iterator_callback(
self,
execution_context: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
) -> DynValue { ... }
fn index(
self,
script: impl Into<Script>,
index: impl Into<DynValue>,
is_direct_indexing: impl Into<bool>,
) -> DynValue { ... }
fn set_index(
self,
script: impl Into<Script>,
index: impl Into<DynValue>,
value: impl Into<DynValue>,
is_direct_indexing: impl Into<bool>,
) -> bool { ... }
fn meta_index(
self,
script: impl Into<Script>,
metaname: impl Into<Il2CppString>,
) -> DynValue { ... }
}Provided Methods§
Sourcefn ctor(self, script: impl Into<Script>, enumerator: impl Into<IEnumerator>)
fn ctor(self, script: impl Into<Script>, enumerator: impl Into<IEnumerator>)
.ctor(crate::moon_sharp::interpreter::script::Script, crate::system::collections::ienumerator::IEnumerator) overload
Sourcefn get_next(self, prev: impl Into<DynValue>) -> DynValue
fn get_next(self, prev: impl Into<DynValue>) -> DynValue
GetNext(crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn lua_iterator_callback(
self,
execution_context: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
) -> DynValue
fn lua_iterator_callback( self, execution_context: impl Into<ScriptExecutionContext>, args: impl Into<CallbackArguments>, ) -> DynValue
LuaIteratorCallback(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments) overload
Sourcefn index(
self,
script: impl Into<Script>,
index: impl Into<DynValue>,
is_direct_indexing: impl Into<bool>,
) -> DynValue
fn index( self, script: impl Into<Script>, index: impl Into<DynValue>, is_direct_indexing: impl Into<bool>, ) -> DynValue
Index(crate::moon_sharp::interpreter::script::Script, crate::moon_sharp::interpreter::dynvalue::DynValue, bool) overload
Sourcefn set_index(
self,
script: impl Into<Script>,
index: impl Into<DynValue>,
value: impl Into<DynValue>,
is_direct_indexing: impl Into<bool>,
) -> bool
fn set_index( self, script: impl Into<Script>, index: impl Into<DynValue>, value: impl Into<DynValue>, is_direct_indexing: impl Into<bool>, ) -> bool
SetIndex(crate::moon_sharp::interpreter::script::Script, crate::moon_sharp::interpreter::dynvalue::DynValue, crate::moon_sharp::interpreter::dynvalue::DynValue, bool) overload
Sourcefn meta_index(
self,
script: impl Into<Script>,
metaname: impl Into<Il2CppString>,
) -> DynValue
fn meta_index( self, script: impl Into<Script>, metaname: impl Into<Il2CppString>, ) -> DynValue
MetaIndex(crate::moon_sharp::interpreter::script::Script, ::unity::Il2CppString) 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: IEnumerableWrapper> IEnumerableWrapperMethods for __T
moon_sharp-interpreter-interop-enumerablewrapper only.