Skip to main content

IResourceLocationBaseMethods

Trait IResourceLocationBaseMethods 

Source
pub trait IResourceLocationBaseMethods: IResourceLocationBase {
Show 14 methods // Provided methods fn get_internal_id(self) -> Il2CppString { ... } fn get_provider_id(self) -> Il2CppString { ... } fn get_dependencies(self) -> IList_1_Interface<IResourceLocation> { ... } fn get_has_dependencies(self) -> bool { ... } fn get_data(self) -> Object { ... } fn set_data(self, value: impl Into<Object>) { ... } fn get_primary_key(self) -> Il2CppString { ... } fn set_primary_key(self, value: impl Into<Il2CppString>) { ... } fn get_dependency_hash_code(self) -> i32 { ... } fn get_resource_type(self) -> SystemType { ... } fn hash(self, t: impl Into<SystemType>) -> i32 { ... } fn to_string(self) -> Il2CppString { ... } fn ctor( self, name: impl Into<Il2CppString>, id: impl Into<Il2CppString>, provider_id: impl Into<Il2CppString>, t: impl Into<SystemType>, dependencies: impl Into<Array<IResourceLocation>>, ) { ... } fn compute_dependency_hash(self) { ... }
}

Provided Methods§

Source

fn get_internal_id(self) -> Il2CppString

get_InternalId() overload

Source

fn get_provider_id(self) -> Il2CppString

get_ProviderId() overload

Source

fn get_dependencies(self) -> IList_1_Interface<IResourceLocation>

get_Dependencies() overload

Source

fn get_has_dependencies(self) -> bool

get_HasDependencies() overload

Source

fn get_data(self) -> Object

get_Data() overload

Source

fn set_data(self, value: impl Into<Object>)

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

Source

fn get_primary_key(self) -> Il2CppString

get_PrimaryKey() overload

Source

fn set_primary_key(self, value: impl Into<Il2CppString>)

set_PrimaryKey(::unity::Il2CppString) overload

Source

fn get_dependency_hash_code(self) -> i32

get_DependencyHashCode() overload

Source

fn get_resource_type(self) -> SystemType

get_ResourceType() overload

Source

fn hash(self, t: impl Into<SystemType>) -> i32

Hash(::unity::SystemType) overload

Source

fn to_string(self) -> Il2CppString

ToString() overload

Source

fn ctor( self, name: impl Into<Il2CppString>, id: impl Into<Il2CppString>, provider_id: impl Into<Il2CppString>, t: impl Into<SystemType>, dependencies: impl Into<Array<IResourceLocation>>, )

.ctor(::unity::Il2CppString, ::unity::Il2CppString, ::unity::Il2CppString, ::unity::SystemType, ::unity::Array<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation>) overload

Source

fn compute_dependency_hash(self)

ComputeDependencyHash() 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: IResourceLocationBase> IResourceLocationBaseMethods for __T

Available on crate feature unity_engine-resource_management-resource_locations-resourcelocationbase only.