Skip to main content

IResourceLocationDataMethods

Trait IResourceLocationDataMethods 

Source
pub trait IResourceLocationDataMethods: IResourceLocationData {
    // Provided methods
    fn get_keys(self) -> Array<Il2CppString> { ... }
    fn get_internal_id(self) -> Il2CppString { ... }
    fn get_provider(self) -> Il2CppString { ... }
    fn get_dependencies(self) -> Array<Il2CppString> { ... }
    fn get_resource_type(self) -> SystemType { ... }
    fn get_data(self) -> Object { ... }
    fn set_data(self, value: impl Into<Object>) { ... }
    fn ctor(
        self,
        keys: impl Into<Array<Il2CppString>>,
        id: impl Into<Il2CppString>,
        provider: impl Into<SystemType>,
        t: impl Into<SystemType>,
        dependencies: impl Into<Array<Il2CppString>>,
    ) { ... }
}

Provided Methods§

Source

fn get_keys(self) -> Array<Il2CppString>

get_Keys() overload

Source

fn get_internal_id(self) -> Il2CppString

get_InternalId() overload

Source

fn get_provider(self) -> Il2CppString

get_Provider() overload

Source

fn get_dependencies(self) -> Array<Il2CppString>

get_Dependencies() overload

Source

fn get_resource_type(self) -> SystemType

get_ResourceType() 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 ctor( self, keys: impl Into<Array<Il2CppString>>, id: impl Into<Il2CppString>, provider: impl Into<SystemType>, t: impl Into<SystemType>, dependencies: impl Into<Array<Il2CppString>>, )

.ctor(::unity::Array<::unity::Il2CppString>, ::unity::Il2CppString, ::unity::SystemType, ::unity::SystemType, ::unity::Array<::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§

Source§

impl<__T: IResourceLocationData> IResourceLocationDataMethods for __T

Available on crate feature unity_engine-addressable_assets-resource_locators-resourcelocationdata only.