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§
Sourcefn check_async_task_in_progress(self)
fn check_async_task_in_progress(self)
CheckAsyncTaskInProgress() overload
Sourcefn ctor_3(self, path: impl Into<Il2CppString>)
fn ctor_3(self, path: impl Into<Il2CppString>)
.ctor(::unity::Il2CppString) overload
Sourcefn flush_2(self, flush_stream: impl Into<bool>, flush_encoder: impl Into<bool>)
fn flush_2(self, flush_stream: impl Into<bool>, flush_encoder: impl Into<bool>)
Flush(bool, bool) overload
Sourcefn set_auto_flush(self, value: impl Into<bool>)
fn set_auto_flush(self, value: impl Into<bool>)
set_AutoFlush(bool) overload
Sourcefn get_leave_open(self) -> bool
fn get_leave_open(self) -> bool
get_LeaveOpen() overload
Sourcefn write_3(
self,
buffer: impl Into<Array<u16>>,
index: impl Into<i32>,
count: impl Into<i32>,
)
fn write_3( self, buffer: impl Into<Array<u16>>, index: impl Into<i32>, count: impl Into<i32>, )
Write(::unity::Array<u16>, i32, i32) overload
Sourcefn write_4(self, value: impl Into<Il2CppString>)
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§
impl<__T: IStreamWriter> IStreamWriterMethods for __T
Available on crate feature
system-io-streamwriter only.