pub trait IEventSequence_CoroutineMethods: IEventSequence_Coroutine {
// Provided methods
fn ctor(self, func: impl Into<DynValue>, args: impl Into<Array<DynValue>>) { ... }
fn ctor_2(
self,
func: impl Into<DynValue>,
callback: impl Into<DynValue>,
args: impl Into<Array<DynValue>>,
) { ... }
fn get_callback_args(
self,
callback: impl Into<DynValue>,
args: impl Into<Array<DynValue>>,
) -> Array<DynValue> { ... }
fn get_coroutine(self) -> Coroutine_2 { ... }
fn get_stack_trace(self) -> Array<WatchItem> { ... }
fn yield(self) { ... }
fn do_coroutine(self) -> DynValue { ... }
fn is_dead(self) -> bool { ... }
}Provided Methods§
Sourcefn ctor(self, func: impl Into<DynValue>, args: impl Into<Array<DynValue>>)
fn ctor(self, func: impl Into<DynValue>, args: impl Into<Array<DynValue>>)
.ctor(crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>) overload
Sourcefn ctor_2(
self,
func: impl Into<DynValue>,
callback: impl Into<DynValue>,
args: impl Into<Array<DynValue>>,
)
fn ctor_2( self, func: impl Into<DynValue>, callback: impl Into<DynValue>, args: impl Into<Array<DynValue>>, )
.ctor(crate::moon_sharp::interpreter::dynvalue::DynValue, crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>) overload
Sourcefn get_callback_args(
self,
callback: impl Into<DynValue>,
args: impl Into<Array<DynValue>>,
) -> Array<DynValue>
fn get_callback_args( self, callback: impl Into<DynValue>, args: impl Into<Array<DynValue>>, ) -> Array<DynValue>
GetCallbackArgs(crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>) overload
Sourcefn get_coroutine(self) -> Coroutine_2
fn get_coroutine(self) -> Coroutine_2
GetCoroutine() overload
Sourcefn get_stack_trace(self) -> Array<WatchItem>
fn get_stack_trace(self) -> Array<WatchItem>
GetStackTrace() overload
Sourcefn do_coroutine(self) -> DynValue
fn do_coroutine(self) -> DynValue
DoCoroutine() 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: IEventSequence_Coroutine> IEventSequence_CoroutineMethods for __T
Available on crate feature
app-eventsequence only.