pub trait IStandardPlatformAccessorMethods: IStandardPlatformAccessor {
// Provided methods
fn get_environment_variable(
self,
envvarname: impl Into<Il2CppString>,
) -> Il2CppString { ... }
fn io_get_standard_stream(self, type: impl Into<StandardFileType>) -> Stream { ... }
fn default_print(self, content: impl Into<Il2CppString>) { ... }
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_platform_name_prefix(self) -> Il2CppString { ... }
fn ctor(self) { ... }
}Provided Methods§
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 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 default_print(self, content: impl Into<Il2CppString>)
fn default_print(self, content: impl Into<Il2CppString>)
DefaultPrint(::unity::Il2CppString) 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_platform_name_prefix(self) -> Il2CppString
fn get_platform_name_prefix(self) -> Il2CppString
GetPlatformNamePrefix() 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: IStandardPlatformAccessor> IStandardPlatformAccessorMethods for __T
Available on crate feature
moon_sharp-interpreter-platforms-standardplatformaccessor only.