Skip to main content

IAnimAssetMethods

Trait IAnimAssetMethods 

Source
pub trait IAnimAssetMethods: IAnimAsset {
    // Provided methods
    fn ctor(self) { ... }
    fn ctor_2(self, name: impl Into<Il2CppString>) { ... }
    fn get_hash(self) -> i32 { ... }
    fn set_hash(self, value: impl Into<i32>) { ... }
    fn set_name_and_hash(
        self,
        name: impl Into<Il2CppString>,
        hash: impl Into<i32>,
    ) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

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

.ctor(::unity::Il2CppString) overload

Source

fn get_hash(self) -> i32

get_Hash() overload

Source

fn set_hash(self, value: impl Into<i32>)

set_Hash(i32) overload

Source

fn set_name_and_hash(self, name: impl Into<Il2CppString>, hash: impl Into<i32>)

SetNameAndHash(::unity::Il2CppString, i32) 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: IAnimAsset> IAnimAssetMethods for __T

Available on crate feature combat-animasset only.