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§
Sourcefn ctor_2(self, defaults: impl Into<ScriptOptions>)
fn ctor_2(self, defaults: impl Into<ScriptOptions>)
.ctor(crate::moon_sharp::interpreter::scriptoptions::ScriptOptions) overload
Sourcefn get_script_loader(self) -> IScriptLoader
fn get_script_loader(self) -> IScriptLoader
get_ScriptLoader() overload
Sourcefn set_script_loader(self, value: impl Into<IScriptLoader>)
fn set_script_loader(self, value: impl Into<IScriptLoader>)
set_ScriptLoader(crate::moon_sharp::interpreter::loaders::iscriptloader::IScriptLoader) overload
Sourcefn get_debug_print(self) -> Action_1<Il2CppString>
fn get_debug_print(self) -> Action_1<Il2CppString>
get_DebugPrint() overload
Sourcefn set_debug_print(self, value: impl Into<Action_1<Il2CppString>>)
fn set_debug_print(self, value: impl Into<Action_1<Il2CppString>>)
set_DebugPrint(crate::system::action_1::Action_1<::unity::Il2CppString>) overload
Sourcefn get_debug_input(self) -> Func_2<Il2CppString, Il2CppString>
fn get_debug_input(self) -> Func_2<Il2CppString, Il2CppString>
get_DebugInput() overload
Sourcefn set_debug_input(self, value: impl Into<Func_2<Il2CppString, Il2CppString>>)
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
Sourcefn get_use_lua_error_locations(self) -> bool
fn get_use_lua_error_locations(self) -> bool
get_UseLuaErrorLocations() overload
Sourcefn set_use_lua_error_locations(self, value: impl Into<bool>)
fn set_use_lua_error_locations(self, value: impl Into<bool>)
set_UseLuaErrorLocations(bool) overload
Sourcefn get_colon_operator_clr_callback_behaviour(self) -> ColonOperatorBehaviour
fn get_colon_operator_clr_callback_behaviour(self) -> ColonOperatorBehaviour
get_ColonOperatorClrCallbackBehaviour() overload
Sourcefn set_colon_operator_clr_callback_behaviour(
self,
value: impl Into<ColonOperatorBehaviour>,
)
fn set_colon_operator_clr_callback_behaviour( self, value: impl Into<ColonOperatorBehaviour>, )
set_ColonOperatorClrCallbackBehaviour(crate::moon_sharp::interpreter::colonoperatorbehaviour::ColonOperatorBehaviour) overload
Sourcefn set_stdin(self, value: impl Into<Stream>)
fn set_stdin(self, value: impl Into<Stream>)
set_Stdin(crate::system::io::stream::Stream) overload
Sourcefn get_stdout(self) -> Stream
fn get_stdout(self) -> Stream
get_Stdout() overload
Sourcefn set_stdout(self, value: impl Into<Stream>)
fn set_stdout(self, value: impl Into<Stream>)
set_Stdout(crate::system::io::stream::Stream) overload
Sourcefn get_stderr(self) -> Stream
fn get_stderr(self) -> Stream
get_Stderr() overload
Sourcefn set_stderr(self, value: impl Into<Stream>)
fn set_stderr(self, value: impl Into<Stream>)
set_Stderr(crate::system::io::stream::Stream) overload
Sourcefn get_tail_call_optimization_threshold(self) -> i32
fn get_tail_call_optimization_threshold(self) -> i32
get_TailCallOptimizationThreshold() overload
Sourcefn set_tail_call_optimization_threshold(self, value: impl Into<i32>)
fn set_tail_call_optimization_threshold(self, value: impl Into<i32>)
set_TailCallOptimizationThreshold(i32) overload
Sourcefn get_check_thread_access(self) -> bool
fn get_check_thread_access(self) -> bool
get_CheckThreadAccess() overload
Sourcefn set_check_thread_access(self, value: impl Into<bool>)
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§
impl<__T: IScriptOptions> IScriptOptionsMethods for __T
moon_sharp-interpreter-scriptoptions only.