pub trait IAssetReferenceSpriteMethods: IAssetReferenceSprite {
// Provided methods
fn ctor(self, guid: impl Into<Il2CppString>) { ... }
fn validate_asset(self, path: impl Into<Il2CppString>) -> bool { ... }
}Provided Methods§
Sourcefn ctor(self, guid: impl Into<Il2CppString>)
fn ctor(self, guid: impl Into<Il2CppString>)
.ctor(::unity::Il2CppString) overload
Sourcefn validate_asset(self, path: impl Into<Il2CppString>) -> bool
fn validate_asset(self, path: impl Into<Il2CppString>) -> bool
ValidateAsset(::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: IAssetReferenceSprite> IAssetReferenceSpriteMethods for __T
Available on crate feature
unity_engine-addressable_assets-assetreferencesprite only.