Skip to main content

IIPlatformAccessorMethods

Trait IIPlatformAccessorMethods 

Source
pub trait IIPlatformAccessorMethods: IIPlatformAccessor {
Show 13 methods // Provided methods 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 get_platform_name(self) -> Il2CppString { ... } fn default_print(self, content: impl Into<Il2CppString>) { ... } fn default_input(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 { ... }
}

Provided Methods§

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 get_platform_name(self) -> Il2CppString

GetPlatformName() overload

Source

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

DefaultPrint(::unity::Il2CppString) overload

Source

fn default_input(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

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: IIPlatformAccessor> IIPlatformAccessorMethods for __T

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