Skip to main content

IStreamWriterMethods

Trait IStreamWriterMethods 

Source
pub trait IStreamWriterMethods: IStreamWriter {
Show 14 methods // Provided methods fn check_async_task_in_progress(self) { ... } fn ctor(self) { ... } fn ctor_2(self, stream: impl Into<Stream>) { ... } fn ctor_3(self, path: impl Into<Il2CppString>) { ... } fn close(self) { ... } fn dispose(self, disposing: impl Into<bool>) { ... } fn flush(self) { ... } fn flush_2( self, flush_stream: impl Into<bool>, flush_encoder: impl Into<bool>, ) { ... } fn set_auto_flush(self, value: impl Into<bool>) { ... } fn get_leave_open(self) -> bool { ... } fn write(self, value: impl Into<u16>) { ... } fn write_2(self, buffer: impl Into<Array<u16>>) { ... } fn write_3( self, buffer: impl Into<Array<u16>>, index: impl Into<i32>, count: impl Into<i32>, ) { ... } fn write_4(self, value: impl Into<Il2CppString>) { ... }
}

Provided Methods§

Source

fn check_async_task_in_progress(self)

CheckAsyncTaskInProgress() overload

Source

fn ctor(self)

.ctor() overload

Source

fn ctor_2(self, stream: impl Into<Stream>)

.ctor(crate::system::io::stream::Stream) overload

Source

fn ctor_3(self, path: impl Into<Il2CppString>)

.ctor(::unity::Il2CppString) overload

Source

fn close(self)

Close() overload

Source

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

Dispose(bool) overload

Source

fn flush(self)

Flush() overload

Source

fn flush_2(self, flush_stream: impl Into<bool>, flush_encoder: impl Into<bool>)

Flush(bool, bool) overload

Source

fn set_auto_flush(self, value: impl Into<bool>)

set_AutoFlush(bool) overload

Source

fn get_leave_open(self) -> bool

get_LeaveOpen() overload

Source

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

Write(u16) overload

Source

fn write_2(self, buffer: impl Into<Array<u16>>)

Write(::unity::Array<u16>) overload

Source

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

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

Source

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

Write(::unity::Il2CppString) 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: IStreamWriter> IStreamWriterMethods for __T

Available on crate feature system-io-streamwriter only.