Skip to main content

IStandardPlatformAccessorMethods

Trait IStandardPlatformAccessorMethods 

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

Source

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

GetEnvironmentVariable(::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 default_print(self, content: impl Into<Il2CppString>)

DefaultPrint(::unity::Il2CppString) 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_platform_name_prefix(self) -> Il2CppString

GetPlatformNamePrefix() 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: IStandardPlatformAccessor> IStandardPlatformAccessorMethods for __T

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