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§
Sourcefn get_function(self) -> DynValue
fn get_function(self) -> DynValue
get_Function() overload
Sourcefn set_function(self, value: impl Into<DynValue>)
fn set_function(self, value: impl Into<DynValue>)
set_Function(crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn set_args(self, value: impl Into<Array<DynValue>>)
fn set_args(self, value: impl Into<Array<DynValue>>)
set_Args(::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>) overload
Sourcefn get_continuation(self) -> CallbackFunction
fn get_continuation(self) -> CallbackFunction
get_Continuation() overload
Sourcefn set_continuation(self, value: impl Into<CallbackFunction>)
fn set_continuation(self, value: impl Into<CallbackFunction>)
set_Continuation(crate::moon_sharp::interpreter::callbackfunction::CallbackFunction) overload
Sourcefn get_error_handler(self) -> CallbackFunction
fn get_error_handler(self) -> CallbackFunction
get_ErrorHandler() overload
Sourcefn set_error_handler(self, value: impl Into<CallbackFunction>)
fn set_error_handler(self, value: impl Into<CallbackFunction>)
set_ErrorHandler(crate::moon_sharp::interpreter::callbackfunction::CallbackFunction) overload
Sourcefn get_error_handler_before_unwind(self) -> DynValue
fn get_error_handler_before_unwind(self) -> DynValue
get_ErrorHandlerBeforeUnwind() overload
Sourcefn set_error_handler_before_unwind(self, value: impl Into<DynValue>)
fn set_error_handler_before_unwind(self, value: impl Into<DynValue>)
set_ErrorHandlerBeforeUnwind(crate::moon_sharp::interpreter::dynvalue::DynValue) 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: ITailCallData> ITailCallDataMethods for __T
Available on crate feature
moon_sharp-interpreter-tailcalldata only.