Skip to main content

IFileUserDataBaseMethods

Trait IFileUserDataBaseMethods 

Source
pub trait IFileUserDataBaseMethods: IFileUserDataBase {
Show 18 methods // Provided methods fn lines( self, execution_context: impl Into<ScriptExecutionContext>, args: impl Into<CallbackArguments>, ) -> DynValue { ... } fn read( self, execution_context: impl Into<ScriptExecutionContext>, args: impl Into<CallbackArguments>, ) -> DynValue { ... } fn write( self, execution_context: impl Into<ScriptExecutionContext>, args: impl Into<CallbackArguments>, ) -> DynValue { ... } fn close( self, execution_context: impl Into<ScriptExecutionContext>, args: impl Into<CallbackArguments>, ) -> DynValue { ... } fn is_numeric_char( self, c: impl Into<u16>, num_as_far: impl Into<Il2CppString>, ) -> bool { ... } fn eof(self) -> bool { ... } fn read_line(self) -> Il2CppString { ... } fn read_buffer(self, p: impl Into<i32>) -> Il2CppString { ... } fn read_to_end(self) -> Il2CppString { ... } fn peek(self) -> u16 { ... } fn write_2(self, value: impl Into<Il2CppString>) { ... } fn isopen(self) -> bool { ... } fn close_2(self) -> Il2CppString { ... } fn flush(self) -> bool { ... } fn seek( self, whence: impl Into<Il2CppString>, offset: impl Into<i64>, ) -> i64 { ... } fn setvbuf(self, mode: impl Into<Il2CppString>) -> bool { ... } fn to_string(self) -> Il2CppString { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn lines( self, execution_context: impl Into<ScriptExecutionContext>, args: impl Into<CallbackArguments>, ) -> DynValue

lines(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments) overload

Source

fn read( self, execution_context: impl Into<ScriptExecutionContext>, args: impl Into<CallbackArguments>, ) -> DynValue

read(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments) overload

Source

fn write( self, execution_context: impl Into<ScriptExecutionContext>, args: impl Into<CallbackArguments>, ) -> DynValue

write(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments) overload

Source

fn close( self, execution_context: impl Into<ScriptExecutionContext>, args: impl Into<CallbackArguments>, ) -> DynValue

close(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments) overload

Source

fn is_numeric_char( self, c: impl Into<u16>, num_as_far: impl Into<Il2CppString>, ) -> bool

IsNumericChar(u16, ::unity::Il2CppString) overload

Source

fn eof(self) -> bool

Eof() overload

Source

fn read_line(self) -> Il2CppString

ReadLine() overload

Source

fn read_buffer(self, p: impl Into<i32>) -> Il2CppString

ReadBuffer(i32) overload

Source

fn read_to_end(self) -> Il2CppString

ReadToEnd() overload

Source

fn peek(self) -> u16

Peek() overload

Source

fn write_2(self, value: impl Into<Il2CppString>)

Write(::unity::Il2CppString) overload

Source

fn isopen(self) -> bool

isopen() overload

Source

fn close_2(self) -> Il2CppString

Close() overload

Source

fn flush(self) -> bool

flush() overload

Source

fn seek(self, whence: impl Into<Il2CppString>, offset: impl Into<i64>) -> i64

seek(::unity::Il2CppString, i64) overload

Source

fn setvbuf(self, mode: impl Into<Il2CppString>) -> bool

setvbuf(::unity::Il2CppString) overload

Source

fn to_string(self) -> Il2CppString

ToString() 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: IFileUserDataBase> IFileUserDataBaseMethods for __T

Available on crate feature moon_sharp-interpreter-core_lib-io-fileuserdatabase only.