Skip to main content

IPlatformAccessorBaseMethods

Trait IPlatformAccessorBaseMethods 

Source
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§

Source

fn get_platform_name_prefix(self) -> Il2CppString

GetPlatformNamePrefix() overload

Source

fn get_platform_name(self) -> Il2CppString

GetPlatformName() overload

Source

fn get_unity_runtime_name(self) -> Il2CppString

GetUnityRuntimeName() overload

Source

fn get_unity_platform_name(self) -> Il2CppString

GetUnityPlatformName() overload

Source

fn default_print(self, content: impl Into<Il2CppString>)

DefaultPrint(::unity::Il2CppString) overload

Source

fn default_input(self) -> Il2CppString

DefaultInput() overload

Source

fn default_input_2(self, prompt: impl Into<Il2CppString>) -> Il2CppString

DefaultInput(::unity::Il2CppString) overload

Source

fn io_get_standard_stream(self, type: impl Into<StandardFileType>) -> Stream

IO_GetStandardStream(crate::moon_sharp::interpreter::platforms::standardfiletype::StandardFileType) overload

Source

fn io_os_get_temp_filename(self) -> Il2CppString

IO_OS_GetTempFilename() overload

Source

fn os_exit_fast(self, exit_code: impl Into<i32>)

OS_ExitFast(i32) overload

Source

fn os_file_exists(self, file: impl Into<Il2CppString>) -> bool

OS_FileExists(::unity::Il2CppString) overload

Source

fn os_file_delete(self, file: impl Into<Il2CppString>)

OS_FileDelete(::unity::Il2CppString) overload

Source

fn os_file_move( self, src: impl Into<Il2CppString>, dst: impl Into<Il2CppString>, )

OS_FileMove(::unity::Il2CppString, ::unity::Il2CppString) overload

Source

fn os_execute(self, cmdline: impl Into<Il2CppString>) -> i32

OS_Execute(::unity::Il2CppString) overload

Source

fn filter_supported_core_modules( self, module: impl Into<CoreModules>, ) -> CoreModules

FilterSupportedCoreModules(crate::moon_sharp::interpreter::coremodules::CoreModules) overload

Source

fn get_environment_variable( self, envvarname: impl Into<Il2CppString>, ) -> Il2CppString

GetEnvironmentVariable(::unity::Il2CppString) overload

Source

fn is_running_on_aot(self) -> bool

IsRunningOnAOT() 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: IPlatformAccessorBase> IPlatformAccessorBaseMethods for __T

Available on crate feature moon_sharp-interpreter-platforms-platformaccessorbase only.