pub trait IPlatformAccessorBaseMethods: IPlatformAccessorBase {
Show 18 methods
// Provided methods
fn get_platform_name_prefix(self) -> Il2CppString { ... }
fn get_platform_name(self) -> Il2CppString { ... }
fn get_unity_runtime_name(self) -> Il2CppString { ... }
fn get_unity_platform_name(self) -> Il2CppString { ... }
fn default_print(self, content: impl Into<Il2CppString>) { ... }
fn default_input(self) -> Il2CppString { ... }
fn default_input_2(self, prompt: impl Into<Il2CppString>) -> Il2CppString { ... }
fn io_get_standard_stream(self, type: impl Into<StandardFileType>) -> Stream { ... }
fn io_os_get_temp_filename(self) -> Il2CppString { ... }
fn os_exit_fast(self, exit_code: impl Into<i32>) { ... }
fn os_file_exists(self, file: impl Into<Il2CppString>) -> bool { ... }
fn os_file_delete(self, file: impl Into<Il2CppString>) { ... }
fn os_file_move(
self,
src: impl Into<Il2CppString>,
dst: impl Into<Il2CppString>,
) { ... }
fn os_execute(self, cmdline: impl Into<Il2CppString>) -> i32 { ... }
fn filter_supported_core_modules(
self,
module: impl Into<CoreModules>,
) -> CoreModules { ... }
fn get_environment_variable(
self,
envvarname: impl Into<Il2CppString>,
) -> Il2CppString { ... }
fn is_running_on_aot(self) -> bool { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_platform_name_prefix(self) -> Il2CppString
fn get_platform_name_prefix(self) -> Il2CppString
GetPlatformNamePrefix() overload
Sourcefn get_platform_name(self) -> Il2CppString
fn get_platform_name(self) -> Il2CppString
GetPlatformName() overload
Sourcefn get_unity_runtime_name(self) -> Il2CppString
fn get_unity_runtime_name(self) -> Il2CppString
GetUnityRuntimeName() overload
Sourcefn get_unity_platform_name(self) -> Il2CppString
fn get_unity_platform_name(self) -> Il2CppString
GetUnityPlatformName() overload
Sourcefn default_print(self, content: impl Into<Il2CppString>)
fn default_print(self, content: impl Into<Il2CppString>)
DefaultPrint(::unity::Il2CppString) overload
Sourcefn default_input(self) -> Il2CppString
fn default_input(self) -> Il2CppString
DefaultInput() overload
Sourcefn default_input_2(self, prompt: impl Into<Il2CppString>) -> Il2CppString
fn default_input_2(self, prompt: impl Into<Il2CppString>) -> Il2CppString
DefaultInput(::unity::Il2CppString) overload
Sourcefn io_get_standard_stream(self, type: impl Into<StandardFileType>) -> Stream
fn io_get_standard_stream(self, type: impl Into<StandardFileType>) -> Stream
IO_GetStandardStream(crate::moon_sharp::interpreter::platforms::standardfiletype::StandardFileType) overload
Sourcefn io_os_get_temp_filename(self) -> Il2CppString
fn io_os_get_temp_filename(self) -> Il2CppString
IO_OS_GetTempFilename() overload
Sourcefn os_exit_fast(self, exit_code: impl Into<i32>)
fn os_exit_fast(self, exit_code: impl Into<i32>)
OS_ExitFast(i32) overload
Sourcefn os_file_exists(self, file: impl Into<Il2CppString>) -> bool
fn os_file_exists(self, file: impl Into<Il2CppString>) -> bool
OS_FileExists(::unity::Il2CppString) overload
Sourcefn os_file_delete(self, file: impl Into<Il2CppString>)
fn os_file_delete(self, file: impl Into<Il2CppString>)
OS_FileDelete(::unity::Il2CppString) overload
Sourcefn os_file_move(
self,
src: impl Into<Il2CppString>,
dst: impl Into<Il2CppString>,
)
fn os_file_move( self, src: impl Into<Il2CppString>, dst: impl Into<Il2CppString>, )
OS_FileMove(::unity::Il2CppString, ::unity::Il2CppString) overload
Sourcefn os_execute(self, cmdline: impl Into<Il2CppString>) -> i32
fn os_execute(self, cmdline: impl Into<Il2CppString>) -> i32
OS_Execute(::unity::Il2CppString) overload
Sourcefn filter_supported_core_modules(
self,
module: impl Into<CoreModules>,
) -> CoreModules
fn filter_supported_core_modules( self, module: impl Into<CoreModules>, ) -> CoreModules
FilterSupportedCoreModules(crate::moon_sharp::interpreter::coremodules::CoreModules) overload
Sourcefn get_environment_variable(
self,
envvarname: impl Into<Il2CppString>,
) -> Il2CppString
fn get_environment_variable( self, envvarname: impl Into<Il2CppString>, ) -> Il2CppString
GetEnvironmentVariable(::unity::Il2CppString) overload
Sourcefn is_running_on_aot(self) -> bool
fn is_running_on_aot(self) -> bool
IsRunningOnAOT() 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: IPlatformAccessorBase> IPlatformAccessorBaseMethods for __T
moon_sharp-interpreter-platforms-platformaccessorbase only.