Skip to main content

IStreamFileUserDataBaseMethods

Trait IStreamFileUserDataBaseMethods 

Source
pub trait IStreamFileUserDataBaseMethods: IStreamFileUserDataBase {
Show 14 methods // Provided methods fn initialize( self, stream: impl Into<Stream>, reader: impl Into<StreamReader>, writer: impl Into<StreamWriter>, ) { ... } fn check_file_is_not_closed(self) { ... } fn eof(self) -> bool { ... } fn read_line(self) -> Il2CppString { ... } fn read_to_end(self) -> Il2CppString { ... } fn read_buffer(self, p: impl Into<i32>) -> Il2CppString { ... } fn peek(self) -> u16 { ... } fn write(self, value: impl Into<Il2CppString>) { ... } fn close(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 isopen(self) -> bool { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn initialize( self, stream: impl Into<Stream>, reader: impl Into<StreamReader>, writer: impl Into<StreamWriter>, )

Initialize(crate::system::io::stream::Stream, crate::system::io::streamreader::StreamReader, crate::system::io::streamwriter::StreamWriter) overload

Source

fn check_file_is_not_closed(self)

CheckFileIsNotClosed() overload

Source

fn eof(self) -> bool

Eof() overload

Source

fn read_line(self) -> Il2CppString

ReadLine() overload

Source

fn read_to_end(self) -> Il2CppString

ReadToEnd() overload

Source

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

ReadBuffer(i32) overload

Source

fn peek(self) -> u16

Peek() overload

Source

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

Write(::unity::Il2CppString) overload

Source

fn close(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 isopen(self) -> bool

isopen() 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: IStreamFileUserDataBase> IStreamFileUserDataBaseMethods for __T

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