pub trait IResourceProviderBaseMethods: IResourceProviderBase {
// Provided methods
fn get_provider_id(self) -> Il2CppString { ... }
fn initialize(
self,
id: impl Into<Il2CppString>,
data: impl Into<Il2CppString>,
) -> bool { ... }
fn can_provide(
self,
t: impl Into<SystemType>,
location: impl Into<IResourceLocation>,
) -> bool { ... }
fn to_string(self) -> Il2CppString { ... }
fn release(
self,
location: impl Into<IResourceLocation>,
obj: impl Into<Object>,
) { ... }
fn get_default_type(
self,
location: impl Into<IResourceLocation>,
) -> SystemType { ... }
fn provide(self, provide_handle: impl Into<ProvideHandle>) { ... }
fn initialize_async(
self,
rm: impl Into<ResourceManager>,
id: impl Into<Il2CppString>,
data: impl Into<Il2CppString>,
) -> AsyncOperationHandle_1<bool> { ... }
fn unity_engine_resource_management_resource_providers_i_resource_provider_get_behaviour_flags(
self,
) -> ProviderBehaviourFlags { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_provider_id(self) -> Il2CppString
fn get_provider_id(self) -> Il2CppString
get_ProviderId() overload
Sourcefn initialize(
self,
id: impl Into<Il2CppString>,
data: impl Into<Il2CppString>,
) -> bool
fn initialize( self, id: impl Into<Il2CppString>, data: impl Into<Il2CppString>, ) -> bool
Initialize(::unity::Il2CppString, ::unity::Il2CppString) overload
Sourcefn can_provide(
self,
t: impl Into<SystemType>,
location: impl Into<IResourceLocation>,
) -> bool
fn can_provide( self, t: impl Into<SystemType>, location: impl Into<IResourceLocation>, ) -> bool
CanProvide(::unity::SystemType, crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation) overload
Sourcefn to_string(self) -> Il2CppString
fn to_string(self) -> Il2CppString
ToString() overload
Sourcefn release(self, location: impl Into<IResourceLocation>, obj: impl Into<Object>)
fn release(self, location: impl Into<IResourceLocation>, obj: impl Into<Object>)
Release(crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation, crate::system::object::Object) overload
Sourcefn get_default_type(self, location: impl Into<IResourceLocation>) -> SystemType
fn get_default_type(self, location: impl Into<IResourceLocation>) -> SystemType
GetDefaultType(crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation) overload
Sourcefn provide(self, provide_handle: impl Into<ProvideHandle>)
fn provide(self, provide_handle: impl Into<ProvideHandle>)
Provide(crate::unity_engine::resource_management::resource_providers::providehandle::ProvideHandle) overload
Sourcefn initialize_async(
self,
rm: impl Into<ResourceManager>,
id: impl Into<Il2CppString>,
data: impl Into<Il2CppString>,
) -> AsyncOperationHandle_1<bool>
fn initialize_async( self, rm: impl Into<ResourceManager>, id: impl Into<Il2CppString>, data: impl Into<Il2CppString>, ) -> AsyncOperationHandle_1<bool>
InitializeAsync(crate::unity_engine::resource_management::resourcemanager::ResourceManager, ::unity::Il2CppString, ::unity::Il2CppString) overload
Sourcefn unity_engine_resource_management_resource_providers_i_resource_provider_get_behaviour_flags(
self,
) -> ProviderBehaviourFlags
fn unity_engine_resource_management_resource_providers_i_resource_provider_get_behaviour_flags( self, ) -> ProviderBehaviourFlags
UnityEngine.ResourceManagement.ResourceProviders.IResourceProvider.get_BehaviourFlags() 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: IResourceProviderBase> IResourceProviderBaseMethods for __T
unity_engine-resource_management-resource_providers-resourceproviderbase only.