Skip to main content

ITextReader_SyncTextReaderMethods

Trait ITextReader_SyncTextReaderMethods 

Source
pub trait ITextReader_SyncTextReaderMethods: ITextReader_SyncTextReader {
    // Provided methods
    fn ctor(self, t: impl Into<TextReader>) { ... }
    fn close(self) { ... }
    fn dispose(self, disposing: impl Into<bool>) { ... }
    fn peek(self) -> i32 { ... }
    fn read(self) -> i32 { ... }
    fn read_2(
        self,
        buffer: impl Into<Array<u16>>,
        index: impl Into<i32>,
        count: impl Into<i32>,
    ) -> i32 { ... }
    fn read_block(
        self,
        buffer: impl Into<Array<u16>>,
        index: impl Into<i32>,
        count: impl Into<i32>,
    ) -> i32 { ... }
    fn read_line(self) -> Il2CppString { ... }
    fn read_to_end(self) -> Il2CppString { ... }
}

Provided Methods§

Source

fn ctor(self, t: impl Into<TextReader>)

.ctor(crate::system::io::textreader::TextReader) overload

Source

fn close(self)

Close() overload

Source

fn dispose(self, disposing: impl Into<bool>)

Dispose(bool) overload

Source

fn peek(self) -> i32

Peek() overload

Source

fn read(self) -> i32

Read() overload

Source

fn read_2( self, buffer: impl Into<Array<u16>>, index: impl Into<i32>, count: impl Into<i32>, ) -> i32

Read(::unity::Array<u16>, i32, i32) overload

Source

fn read_block( self, buffer: impl Into<Array<u16>>, index: impl Into<i32>, count: impl Into<i32>, ) -> i32

ReadBlock(::unity::Array<u16>, i32, i32) overload

Source

fn read_line(self) -> Il2CppString

ReadLine() overload

Source

fn read_to_end(self) -> Il2CppString

ReadToEnd() 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: ITextReader_SyncTextReader> ITextReader_SyncTextReaderMethods for __T

Available on crate feature system-io-textreader only.