pub trait IUnitAccessoryMethods: IUnitAccessory {
Show 13 methods
// Provided methods
fn ctor(self) { ... }
fn ctor_2(self, accessory: impl Into<AccessoryData>) { ... }
fn dispose(self) { ... }
fn new(self, accessory: impl Into<AccessoryData>) { ... }
fn new_2(self, aid: impl Into<Il2CppString>) { ... }
fn new_3(self, index: impl Into<i32>) { ... }
fn new_4(self, unit_accessory: impl Into<UnitAccessory>) { ... }
fn clear(self) { ... }
fn is_empty(self) -> bool { ... }
fn is_exist(self) -> bool { ... }
fn get_data(self) -> AccessoryData { ... }
fn serialize(self, stream: impl Into<Stream_2>) { ... }
fn deserialize(self, stream: impl Into<Stream_2>) { ... }
}Provided Methods§
Sourcefn ctor_2(self, accessory: impl Into<AccessoryData>)
fn ctor_2(self, accessory: impl Into<AccessoryData>)
.ctor(crate::app::accessorydata::AccessoryData) overload
Sourcefn new(self, accessory: impl Into<AccessoryData>)
fn new(self, accessory: impl Into<AccessoryData>)
New(crate::app::accessorydata::AccessoryData) overload
Sourcefn new_2(self, aid: impl Into<Il2CppString>)
fn new_2(self, aid: impl Into<Il2CppString>)
New(::unity::Il2CppString) overload
Sourcefn new_4(self, unit_accessory: impl Into<UnitAccessory>)
fn new_4(self, unit_accessory: impl Into<UnitAccessory>)
New(crate::app::unitaccessory::UnitAccessory) overload
Sourcefn get_data(self) -> AccessoryData
fn get_data(self) -> AccessoryData
GetData() overload
Sourcefn serialize(self, stream: impl Into<Stream_2>)
fn serialize(self, stream: impl Into<Stream_2>)
Serialize(crate::app::stream_2::Stream_2) overload
Sourcefn deserialize(self, stream: impl Into<Stream_2>)
fn deserialize(self, stream: impl Into<Stream_2>)
Deserialize(crate::app::stream_2::Stream_2) 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: IUnitAccessory> IUnitAccessoryMethods for __T
Available on crate feature
app-unitaccessory only.