Skip to main content

ICStreamWriterMethods

Trait ICStreamWriterMethods 

Source
pub trait ICStreamWriterMethods: ICStreamWriter {
    // Provided methods
    fn write(
        self,
        buffer: impl Into<Array<u16>>,
        index: impl Into<i32>,
        count: impl Into<i32>,
    ) { ... }
    fn write_2(self, val: impl Into<u16>) { ... }
    fn internal_write_string(self, val: impl Into<Il2CppString>) { ... }
    fn internal_write_char(self, val: impl Into<u16>) { ... }
    fn internal_write_chars(
        self,
        buffer: impl Into<Array<u16>>,
        n: impl Into<i32>,
    ) { ... }
    fn write_3(self, val: impl Into<Array<u16>>) { ... }
    fn write_4(self, val: impl Into<Il2CppString>) { ... }
}

Provided Methods§

Source

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

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

Source

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

Write(u16) overload

Source

fn internal_write_string(self, val: impl Into<Il2CppString>)

InternalWriteString(::unity::Il2CppString) overload

Source

fn internal_write_char(self, val: impl Into<u16>)

InternalWriteChar(u16) overload

Source

fn internal_write_chars(self, buffer: impl Into<Array<u16>>, n: impl Into<i32>)

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

Source

fn write_3(self, val: impl Into<Array<u16>>)

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

Source

fn write_4(self, val: 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: ICStreamWriter> ICStreamWriterMethods for __T

Available on crate feature system-io-cstreamwriter only.