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§
Sourcefn lines(
self,
execution_context: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
) -> DynValue
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
Sourcefn read(
self,
execution_context: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
) -> DynValue
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
Sourcefn write(
self,
execution_context: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
) -> DynValue
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
Sourcefn close(
self,
execution_context: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
) -> DynValue
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
Sourcefn is_numeric_char(
self,
c: impl Into<u16>,
num_as_far: impl Into<Il2CppString>,
) -> bool
fn is_numeric_char( self, c: impl Into<u16>, num_as_far: impl Into<Il2CppString>, ) -> bool
IsNumericChar(u16, ::unity::Il2CppString) overload
Sourcefn read_line(self) -> Il2CppString
fn read_line(self) -> Il2CppString
ReadLine() overload
Sourcefn read_buffer(self, p: impl Into<i32>) -> Il2CppString
fn read_buffer(self, p: impl Into<i32>) -> Il2CppString
ReadBuffer(i32) overload
Sourcefn read_to_end(self) -> Il2CppString
fn read_to_end(self) -> Il2CppString
ReadToEnd() overload
Sourcefn write_2(self, value: impl Into<Il2CppString>)
fn write_2(self, value: impl Into<Il2CppString>)
Write(::unity::Il2CppString) overload
Sourcefn close_2(self) -> Il2CppString
fn close_2(self) -> Il2CppString
Close() overload
Sourcefn seek(self, whence: impl Into<Il2CppString>, offset: impl Into<i64>) -> i64
fn seek(self, whence: impl Into<Il2CppString>, offset: impl Into<i64>) -> i64
seek(::unity::Il2CppString, i64) overload
Sourcefn setvbuf(self, mode: impl Into<Il2CppString>) -> bool
fn setvbuf(self, mode: impl Into<Il2CppString>) -> bool
setvbuf(::unity::Il2CppString) overload
Sourcefn to_string(self) -> Il2CppString
fn to_string(self) -> Il2CppString
ToString() 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: IFileUserDataBase> IFileUserDataBaseMethods for __T
moon_sharp-interpreter-core_lib-io-fileuserdatabase only.