Skip to main content

ITailCallDataMethods

Trait ITailCallDataMethods 

Source
pub trait ITailCallDataMethods: ITailCallData {
    // Provided methods
    fn get_function(self) -> DynValue { ... }
    fn set_function(self, value: impl Into<DynValue>) { ... }
    fn get_args(self) -> Array<DynValue> { ... }
    fn set_args(self, value: impl Into<Array<DynValue>>) { ... }
    fn get_continuation(self) -> CallbackFunction { ... }
    fn set_continuation(self, value: impl Into<CallbackFunction>) { ... }
    fn get_error_handler(self) -> CallbackFunction { ... }
    fn set_error_handler(self, value: impl Into<CallbackFunction>) { ... }
    fn get_error_handler_before_unwind(self) -> DynValue { ... }
    fn set_error_handler_before_unwind(self, value: impl Into<DynValue>) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_function(self) -> DynValue

get_Function() overload

Source

fn set_function(self, value: impl Into<DynValue>)

set_Function(crate::moon_sharp::interpreter::dynvalue::DynValue) overload

Source

fn get_args(self) -> Array<DynValue>

get_Args() overload

Source

fn set_args(self, value: impl Into<Array<DynValue>>)

set_Args(::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>) overload

Source

fn get_continuation(self) -> CallbackFunction

get_Continuation() overload

Source

fn set_continuation(self, value: impl Into<CallbackFunction>)

set_Continuation(crate::moon_sharp::interpreter::callbackfunction::CallbackFunction) overload

Source

fn get_error_handler(self) -> CallbackFunction

get_ErrorHandler() overload

Source

fn set_error_handler(self, value: impl Into<CallbackFunction>)

set_ErrorHandler(crate::moon_sharp::interpreter::callbackfunction::CallbackFunction) overload

Source

fn get_error_handler_before_unwind(self) -> DynValue

get_ErrorHandlerBeforeUnwind() overload

Source

fn set_error_handler_before_unwind(self, value: impl Into<DynValue>)

set_ErrorHandlerBeforeUnwind(crate::moon_sharp::interpreter::dynvalue::DynValue) overload

Source

fn ctor(self)

.ctor() 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: ITailCallData> ITailCallDataMethods for __T

Available on crate feature moon_sharp-interpreter-tailcalldata only.