Skip to main content

IScriptOptionsMethods

Trait IScriptOptionsMethods 

Source
pub trait IScriptOptionsMethods: IScriptOptions {
Show 22 methods // Provided methods fn ctor(self) { ... } fn ctor_2(self, defaults: impl Into<ScriptOptions>) { ... } fn get_script_loader(self) -> IScriptLoader { ... } fn set_script_loader(self, value: impl Into<IScriptLoader>) { ... } fn get_debug_print(self) -> Action_1<Il2CppString> { ... } fn set_debug_print(self, value: impl Into<Action_1<Il2CppString>>) { ... } fn get_debug_input(self) -> Func_2<Il2CppString, Il2CppString> { ... } fn set_debug_input( self, value: impl Into<Func_2<Il2CppString, Il2CppString>>, ) { ... } fn get_use_lua_error_locations(self) -> bool { ... } fn set_use_lua_error_locations(self, value: impl Into<bool>) { ... } fn get_colon_operator_clr_callback_behaviour(self) -> ColonOperatorBehaviour { ... } fn set_colon_operator_clr_callback_behaviour( self, value: impl Into<ColonOperatorBehaviour>, ) { ... } fn get_stdin(self) -> Stream { ... } fn set_stdin(self, value: impl Into<Stream>) { ... } fn get_stdout(self) -> Stream { ... } fn set_stdout(self, value: impl Into<Stream>) { ... } fn get_stderr(self) -> Stream { ... } fn set_stderr(self, value: impl Into<Stream>) { ... } fn get_tail_call_optimization_threshold(self) -> i32 { ... } fn set_tail_call_optimization_threshold(self, value: impl Into<i32>) { ... } fn get_check_thread_access(self) -> bool { ... } fn set_check_thread_access(self, value: impl Into<bool>) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn ctor_2(self, defaults: impl Into<ScriptOptions>)

.ctor(crate::moon_sharp::interpreter::scriptoptions::ScriptOptions) overload

Source

fn get_script_loader(self) -> IScriptLoader

get_ScriptLoader() overload

Source

fn set_script_loader(self, value: impl Into<IScriptLoader>)

set_ScriptLoader(crate::moon_sharp::interpreter::loaders::iscriptloader::IScriptLoader) overload

Source

fn get_debug_print(self) -> Action_1<Il2CppString>

get_DebugPrint() overload

Source

fn set_debug_print(self, value: impl Into<Action_1<Il2CppString>>)

set_DebugPrint(crate::system::action_1::Action_1<::unity::Il2CppString>) overload

Source

fn get_debug_input(self) -> Func_2<Il2CppString, Il2CppString>

get_DebugInput() overload

Source

fn set_debug_input(self, value: impl Into<Func_2<Il2CppString, Il2CppString>>)

set_DebugInput(crate::system::func_2::Func_2<::unity::Il2CppString,::unity::Il2CppString>) overload

Source

fn get_use_lua_error_locations(self) -> bool

get_UseLuaErrorLocations() overload

Source

fn set_use_lua_error_locations(self, value: impl Into<bool>)

set_UseLuaErrorLocations(bool) overload

Source

fn get_colon_operator_clr_callback_behaviour(self) -> ColonOperatorBehaviour

get_ColonOperatorClrCallbackBehaviour() overload

Source

fn set_colon_operator_clr_callback_behaviour( self, value: impl Into<ColonOperatorBehaviour>, )

set_ColonOperatorClrCallbackBehaviour(crate::moon_sharp::interpreter::colonoperatorbehaviour::ColonOperatorBehaviour) overload

Source

fn get_stdin(self) -> Stream

get_Stdin() overload

Source

fn set_stdin(self, value: impl Into<Stream>)

set_Stdin(crate::system::io::stream::Stream) overload

Source

fn get_stdout(self) -> Stream

get_Stdout() overload

Source

fn set_stdout(self, value: impl Into<Stream>)

set_Stdout(crate::system::io::stream::Stream) overload

Source

fn get_stderr(self) -> Stream

get_Stderr() overload

Source

fn set_stderr(self, value: impl Into<Stream>)

set_Stderr(crate::system::io::stream::Stream) overload

Source

fn get_tail_call_optimization_threshold(self) -> i32

get_TailCallOptimizationThreshold() overload

Source

fn set_tail_call_optimization_threshold(self, value: impl Into<i32>)

set_TailCallOptimizationThreshold(i32) overload

Source

fn get_check_thread_access(self) -> bool

get_CheckThreadAccess() overload

Source

fn set_check_thread_access(self, value: impl Into<bool>)

set_CheckThreadAccess(bool) 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: IScriptOptions> IScriptOptionsMethods for __T

Available on crate feature moon_sharp-interpreter-scriptoptions only.