Skip to main content

IEventSequence_CoroutineMethods

Trait IEventSequence_CoroutineMethods 

Source
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§

Source

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

Source

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

Source

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

Source

fn get_coroutine(self) -> Coroutine_2

GetCoroutine() overload

Source

fn get_stack_trace(self) -> Array<WatchItem>

GetStackTrace() overload

Source

fn yield(self)

Yield() overload

Source

fn do_coroutine(self) -> DynValue

DoCoroutine() overload

Source

fn is_dead(self) -> bool

IsDead() 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§

Source§

impl<__T: IEventSequence_Coroutine> IEventSequence_CoroutineMethods for __T

Available on crate feature app-eventsequence only.