Skip to main content

IIResourceLocationMethods

Trait IIResourceLocationMethods 

Source
pub trait IIResourceLocationMethods: IIResourceLocation {
    // Provided methods
    fn get_internal_id(self) -> Il2CppString { ... }
    fn get_provider_id(self) -> Il2CppString { ... }
    fn get_dependencies(self) -> IList_1_Interface<IResourceLocation> { ... }
    fn hash(self, result_type: impl Into<SystemType>) -> i32 { ... }
    fn get_dependency_hash_code(self) -> i32 { ... }
    fn get_has_dependencies(self) -> bool { ... }
    fn get_data(self) -> Object { ... }
    fn get_primary_key(self) -> Il2CppString { ... }
    fn get_resource_type(self) -> SystemType { ... }
}

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 hash(self, result_type: impl Into<SystemType>) -> i32

Hash(::unity::SystemType) overload

Source

fn get_dependency_hash_code(self) -> i32

get_DependencyHashCode() overload

Source

fn get_has_dependencies(self) -> bool

get_HasDependencies() overload

Source

fn get_data(self) -> Object

get_Data() overload

Source

fn get_primary_key(self) -> Il2CppString

get_PrimaryKey() overload

Source

fn get_resource_type(self) -> SystemType

get_ResourceType() 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: IIResourceLocation> IIResourceLocationMethods for __T

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