Skip to main content

IDebugStreamMethods

Trait IDebugStreamMethods 

Source
pub trait IDebugStreamMethods: IDebugStream {
    // Provided methods
    fn ctor(self, size: impl Into<i32>) { ... }
    fn ctor_2(self, buffer: impl Into<Array<u8>>) { ... }
    fn save(self, name: impl Into<Il2CppString>) { ... }
    fn load(self, name: impl Into<Il2CppString>) -> bool { ... }
    fn write_members(self, obj: impl Into<Object>) { ... }
    fn read_members(self, obj: impl Into<Object>) { ... }
}

Provided Methods§

Source

fn ctor(self, size: impl Into<i32>)

.ctor(i32) overload

Source

fn ctor_2(self, buffer: impl Into<Array<u8>>)

.ctor(::unity::Array<u8>) overload

Source

fn save(self, name: impl Into<Il2CppString>)

Save(::unity::Il2CppString) overload

Source

fn load(self, name: impl Into<Il2CppString>) -> bool

Load(::unity::Il2CppString) overload

Source

fn write_members(self, obj: impl Into<Object>)

WriteMembers(crate::system::object::Object) overload

Source

fn read_members(self, obj: impl Into<Object>)

ReadMembers(crate::system::object::Object) 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: IDebugStream> IDebugStreamMethods for __T

Available on crate feature app-debugstream only.